Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Extracts images of a PDF.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated. Use DynaPDF.GetImage instead.

MBS( "DynaPDF.ExtractImages"; PDF; Path { ; Flags; Page } )   More


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


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 DynaPDF.GetImage function to walk over image list and get each picture.

Deprecated in favor of DynaPDF.GetImage and DynaPDF.GetImageCount.

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 25th July 2021

DynaPDF.ExtractDocumentText - DynaPDF.ExtractPageRectText