Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

DynaPDF.ReadImageResolution

The function retrieves the horizontal and vertical resolution of an image file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes

MBS( "DynaPDF.ReadImageResolution"; PDF; Container { ; Index } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Container The image container value. Pass the container field or a variable with the container content. $image
Index Optional
The index of the image for multi image files.
1

Result

Returns the x and y resolution values as text separated by newline character.

Description

The function retrieves the horizontal and vertical resolution of an image file.
The image resolution is a user defined value that can be stored in certain image formats such as Bitmap or TIFF.
The function returns zero values if the image format does not support a resolution record or if no values are stored in the image file, the image resolution is then 72 DPI.

See also ReadImageResolution function in DynaPDF manual.

See also

Example Databases


DynaPDF.ReadImageFormat   -   DynaPDF.Rectangle

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins