Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


The function retrieves the most important properties of an image file.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.1 Yes Yes Yes Yes Yes
MBS( "DynaPDF.ReadImageFormat"; PDF; Container { ; Index } )   More


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.


Returns image format or error message.


The function retrieves the most important properties of an image file.
The function reads only the image header to improve processing speed. If the parameter BitsPerPixel is 32 the image is a CMYK image. Note that TIFF images support color depths up to 64 bits per pixel. The parameter Index specifies the array index of a multi-page image that should be read in; numbering starts at 1. The parameter is ignored for non-multi-page image formats.
Image format is returned as a text with width, height and bits per pixel separated by newline.

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014

DynaPDF.RGB   -   DynaPDF.ReadImageResolution

Feedback: Report problem or ask question.

MBS Xojo Plugins