Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
GMImage.Format
Long image format description.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 2.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "GMImage.Format"; ImageRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
ImageRef | The image reference number. | 1 |
Result
Returns the long image format description.
Description
Long image format description.e.g.
- "Joint Photographic Experts Group JFIF format" for JPEG
- "Portable Network Graphics" for PNG
- "Tagged Image File Format" for TIFF
- "Microsoft Windows bitmap image" for BMP
- "CompuServe graphics interchange format" for GIF.
Examples
Show format in dialog:
Set Variable [ $BigImageRef ; Value: MBS("GMImage.NewFromContainer"; Test::BigImage) ]
Show Custom Dialog [ "Format" ; MBS( "GMImage.Format"; $bigImageRef ) ]
Set Variable [ $Error ; Value: MBS("GMImage.Free";$BigImageRef) ]
See also
- GMImage.Border
- GMImage.FontMap
- GMImage.Frame
- GMImage.Free
- GMImage.New
- GMImage.NewFromContainer
- GMImage.Rotate
- GMImage.Spread
This function checks for a license.
Created 18th August 2014, last changed 22nd February 2023