File Content Extraction 25.2
Filter SDK Python Programming Guide

# 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 Python API, call the method `extract_images` on your session configuration, for example:

      session.config.extract_images(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

Copyright 1997-2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.2

Topic Title: Extract Images