Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GMImage.GetHeight
Returns the image height.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 2.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "GMImage.GetHeight"; ImageRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
ImageRef | The image reference number. | 1 |
Result
Returns the image height.
Description
Returns the image height.Examples
Show with and height
Let ( [
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$Width = MBS("GMImage.GetWidth";$Image);
$Height = MBS("GMImage.GetHeight";$Image);
$Error = MBS("GMImage.Release";$Image)
];
$Width & " x " & $Height )
Query size of image into $h and $w:
Set Variable [ $Image ; Value: MBS( "GMImage.NewFromContainer"; ImageView::ImageContainer ) ]
Set Variable [ $w ; Value: MBS( "GMImage.GetWidth"; $Image ) ]
Set Variable [ $h ; Value: MBS( "GMImage.GetHeight"; $Image ) ]
Set Variable [ $r ; Value: MBS( "GMImage.Release"; $Image ) ]
See also
- GMImage.GetDensity
- GMImage.GetDepth
- GMImage.GetQuiet
- GMImage.GetWidth
- GMImage.Ping
- GMImage.PingContainer
- GMImage.Release
- GMImage.SetPixelColor
- ImageView.CreateWithControl
- XL.Sheet.SetPictureWithSize
Example Databases
- Barcode/Barcode Generation
- Barcode/Swiss QR-Code for invoices/Swiss QR-Code for invoices ISO 20022
- GraphicsMagick/Apply Mask
- GraphicsMagick/Clip Image
- GraphicsMagick/Combine Pictures
- GraphicsMagick/GraphicsMagick Sample
- GraphicsMagick/Image Croping
- GraphicsMagick/Reduce Image
- Mac and iOS/ImageView
- Mac and iOS/Machine Learning/Core Image Detection
Blog Entries
- MBS Plugin Advent calendar: 16 - GraphicsMagick
- Tips and tricks with MBS
- GraphicsMagick in FileMaker, part 24
- GraphicsMagick in FileMaker, part 7
- GraphicsMagick in FileMaker, part 2
- Create PDF from scanned images and skip blank pages
- Circle crop images in FileMaker with MBS Plugin
- Face detection via CoreImage in FileMaker
FileMaker Magazin
This function checks for a license.
Created 18th August 2014, last changed 21st December 2018