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  


Extracts images of a PDF.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 3.4 Yes Yes Yes Yes Yes
MBS( "DynaPDF.ExtractImages"; PDF; Path { ; Flags; Page } )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
Path The native Path to the folder ending with slash/backslash. "C:\Images\"
Flags Optional
Optional, various flags for image extraction.
Page Optional
The page number to look at.
If missing or empty, we process all pages.


Returns number of imported files or error.


Extracts images of a PDF.
Please import first a PDF file (or selected pages)
For the flags, please check the pf flags in dynapdf manual.
e.g. pass 34 (pfConvImagesToRGB + pfDecomprAllImages) convert all images to RGB.
Filenames are 4 digit number counting up the images with jpg, jp2 or tif extensions.

This function uses the parser interface in DynaPDF and needs a Pro license.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 19th March 2019

DynaPDF.ExtractDocumentText   -   DynaPDF.ExtractPageRectText

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins