Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  

GMImage.NewFromContainer

Loads a picture from the given container.

Component: GraphicsMagick
Version: 2.0
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: 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


GMImage.NewFromBase64   -   GMImage.NewFromFile

Feedback: Report problem or ask question.




Links
MBS Real Studio PDF Plugins - Nachhilfe in Eich