Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  


Loads a picture file with several files.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
GraphicsMagick 5.1 Yes Yes Yes Yes Yes

MBS( "GMImage.NewImagesFromFile"; Path )


Parameter Description Example value
Path The platform specific file path. "/test.tif"


Returns list of image references or error.


Loads a picture file with several files.
This is for loading multi image tiff files.
Please call GMImage.Destroy later to free memory for this image.
Image reference numbers are starting at 18000 and counting up for each new image.


Loads from file and writes to other file:

Set Variable [$img; Value:MBS("GMImage.NewImagesFromFile"; "/Users/cs/Desktop/test.jpg")]
If [MBS("IsError") = 0]
    Set Variable [$r; Value:MBS( "GMImage.WriteToFile"; $img; "/Users/cs/Desktop/test.tif" )]
    Set Variable [$r; Value:MBS( "GMImage.Destroy"; $img)]
End If

See also

GMImage.NewImagesFromContainer   -   GMImage.Normalize

Feedback: Report problem or ask question.

MBS FileMaker blog