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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

DynaPDF.ListImages

Lists images in a PDF.

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

MBS( "DynaPDF.ListImages"; PDF { ; Flags; Page } )

Parameters

Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Flags Optional
Optional, various flags for PDF parsing.
0
Page Optional
The page number to look at.
If missing or empty, we process all pages.
123

Result

Returns list or error.

Description

Lists images in a PDF.
This is similar to DynaPDF.ExtractImages, but does not write to disk, but returns information.
For the flags, please check the pf flags in dynapdf manual.

The result is a list of values.
First value is the number of images.
Than for each image you get

The ICC Profile is often not part of the PDF as most software converts to DeviceCMYK or uses current profile set in PDF. Display width and height is calculated by the plugin. That is the size of points on the page the PDF is drawn. If Display width and pixel width are the same, the image is displayed with 72 dpi.

See also

Example Databases


DynaPDF.LineTo   -   DynaPDF.LockLayer

Feedback: Report problem or ask question.




Links
MBS Xojo blog