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

DynaPDF.ExtractImages

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 } )

Parameters

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.
0
Page Optional
The page number to look at.
If missing or empty, we process all pages.
123

Result

Returns number of imported files or error.

Description

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.

See also

Example Databases


DynaPDF.ExchangePages   -   DynaPDF.ExtractPageRectText

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins