Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.GetWidth
Returns the Image width.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 2.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| ImageRef | The image reference number. | 1 |
Result
Returns the Image width.
Description
Returns the Image width.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.FindColorInRow
- GMImage.GetPixelColor
- GMImage.GetQuiet
- GMImage.GetView
- GMImage.Release
- GMImage.SetDepth
- GMImage.SetPixelColor
- ImageView.CreateWithControl
- ImageView.CreateWithSize
- XL.Book.AddPictureContainer
Example Databases
- Barcode/Barcode Generation
- Barcode/Swiss QR-Code for invoices ISO 20022
- DynaPDF/Click Points
- GraphicsMagick/Apply Mask
- GraphicsMagick/Clip Image
- GraphicsMagick/Combine Pictures
- GraphicsMagick/Find Pixels
- GraphicsMagick/Image Croping
- GraphicsMagick/Reduce Image
- Mac and iOS/ImageView
Blog Entries
- Create PDF from scanned images and skip blank pages
- Circle crop images in FileMaker with MBS Plugin
- QR Codes for Invoices in Switzerland
FileMaker Magazin
Created 18th August 2014, last changed 21st December 2018
GMImage.GetView - GMImage.GetXMP
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins