Extract Images
You can use the File Extraction API to extract images within a file.
If you use this feature, 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.
NOTE: Turning on ExtractImages
can reduce the speed of the filtering operation.
To extract images
-
In the Java API, call the
setExtractImages
method on thefilter
object, for example:filter.setExtractImages(true);
-
In
formats.ini
, set the following parameter. (This is an alternative approach - you do not need to do this if you have configured this feature through the API).[Options] ExtractImages=TRUE