Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 8.5 Statistic
Retrieves the properties of an image as well as the decompressed image buffer if needed. By default all images are returned decompressed, with exception of image types which are already stored in a valid file format like JPEG and JPEG 2000 images.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|Index||The index of the image from 0 to DynaPDF.GetImageCount-1.||$index|
|Selector||Which value to query.||"Picture"|
In case we return a container value, the file name to use.
Returns OK or error.
DescriptionRetrieves the properties of an image as well as the decompressed image buffer if needed. By default all images are returned decompressed, with exception of image types which are already stored in a valid file format like JPEG and JPEG 2000 images.
If all image types should be decompressed set the flag pfDecompressAllImages.
|BufSize||The size of the image buffer in bytes.|
|Buffer||The image data as JPEG or FILE.|
|Picture||The image as a picture container. Either JPEG or TIFF.|
|Filter||The format of image: Required decode filter if the image is compressed. Possible values are dfDCTDecode (JPEG), dfJPXDecode (JPEG2000), and dfJBIG2Decode. Other filters are already removed by DynaPDF since a conversion to a native file format is then always required.|
|OrgFilter||The image was compressed with this filter in the PDF file. This info is useful to determine which compression filter should be used when creating a new image file from the image buffer.|
|BitsPerPixel||Bit depth of the image buffer. Possible values are 1, 2, 4, 8, 24, 32, and 64.|
|ColorSpace||The color space refers either to the image buffer or to the color table if set.|
|NumComponents||The number of components stored in the image buffer.|
|MinIsWhite||If 1, the colors of 1 bit images are reversed.|
|ColorCount||The number of colors in the color table.|
|Width||Image width in pixel.|
|Height||Image height in pixel.|
|ScanLineLength||The length of a scanline in bytes.|
|InlineImage||If 1, the image is an inline image.|
|Interpolate||If 1, image interpolation should be performed.|
|Transparent||The meaning is different depending on the bit depth and whether a color table is available. If the image is a 1 bit image and if no color table is available, black pixels must be drawn with the current fill color. If the image contains a color table, ColorMask contains the range of indexes in the form min/max index which should appear transparent. If no color table is present ColorMask contains the transparent ranges in the form min/max for every color component.|
|Intent||The rendering intent. Default is none.|
|MetadataSize||Length of Metadata in bytes.|
|ResolutionX||Image resolution on the x-axis.|
|ResolutionY||Image resolution on the y-axis.|
|Metadata||Optional XML Metadata stream as text.|
|ICCProfile||ICC Color Profile of the colorspace (can be empty).|
|MaskImage||If set, a 1 bit image is used as a transparency mask. Returns index of that image.|
|SoftMask||If set, a grayscale image is used as alpha channel. Returns index of that image.|
Created 5th August 2016, last changed 20th September 2018
Feedback: Report problem or ask question.
MBS FileMaker blog