All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.NewFromContainer

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.NewFromContainer"; ImageRef; data )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1
data A value from a Container Field.

Result

Returns the ImageRef number on success.

Description

Loads a picture from the given container.

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 )

Feedback: Report problem or ask question.