You can use the File Extraction API to extract images within the file by specifying the following in the formats.ini
file:
[Options] ExtractImages=TRUE
If you set this option, images within the file behave in the same way as any other subfile. Extracted images have the name image[X].[Y]
, where [X]
is an integer, and [Y]
is the extension. The format of the image is the same as the format in which it is stored in the document.
This option can also be enabled by passing KVFLT_EXTRACTIMAGES
to the fpFilterConfig
function.
|