Topics   All functions   Mac OS X   Windows   Crossplatform   Server   Components   Guides   Statistic  
New in version: 3.0   3.1   3.2   3.3   3.4   3.5   4.0   4.1   4.2   4.3   4.4   5.0   5.1  

GMImage.NewFromContainer

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

See also


GMImage.NewFromBase64   -   GMImage.NewFromFile

Feedback: Report problem or ask question.




Links
MBS REAL studio Plugins - Pfarrgemeinde Messdiener Nickenich