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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

GMImage.NewFromFile

Loads a picture file.

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

MBS( "GMImage.NewFromFile"; Path )

Parameters

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

Result

Returns the ImageRef number on success.

Description

Loads a picture file.
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.

See also


GMImage.NewFromContainer   -   GMImage.NewFromHex

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins