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  

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.

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.




Links
MBS Realbasic Chart Plugins - Nachhilfe in Kell