All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0   2.1   2.2   2.3   2.4   2.5   2.6  

GMImage.GetDensity

Component: GraphicsMagick
Version: 2.0
Mac OS X: Works
Windows: Works

MBS( "GMImage.GetDensity"; ImageRef )

Parameters

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

Result

Returns a geomery as string.

Description

Queries the Vertical and horizontal resolution in pixels of the image

Examples

Load image and get density:

$image = MBS( "GMImage.NewFromContainer"; MediaField)
$res = MBS( "GMImage.GetDensity"; $image )
MBS( "GMImage.Destroy"; $image )

Feedback: Report problem or ask question.

Loading



Links
MBS Realbasic Plugins - Bilder aus Nickenich