Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.ExtractImages
Extracts images of a PDF.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 3.4 | Yes | Yes | Yes | Yes | Yes |
MBS( "DynaPDF.ExtractImages"; PDF; Path { ; Flags; Page } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| The PDF reference returned from DynaPDF.New. | |||
| 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 |
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.
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.
See also
- DynaPDF.ExchangePages
- DynaPDF.ExtractPageText
- DynaPDF.GetImage
- DynaPDF.GetImageCount
- DynaPDF.Initialize
- DynaPDF.ListImages
- DynaPDF.New
Example Databases
Blog Entries
Created 18th August 2014, last changed 13th June 2020
DynaPDF.ExtractDocumentText - DynaPDF.ExtractPageRectText
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins