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.NewFromContainer

Loads a picture from the given container.

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

MBS( "GMImage.NewFromContainer"; data )

Parameters

Parameter Description Example value
data A value from a Container Field.

Result

Returns the ImageRef number on success.

Description

Loads a picture from the given container.
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.

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.Destroy";$Image)
];
$Width & " x " & $Height )

Load from container:

MBS( "GMImage.NewFromContainer"; test::test)

See also

Example Databases


GMImage.NewFromBase64   -   GMImage.NewFromFile

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins