File Content Extraction 25.3
Filter SDK Python Programming Guide

# File Formats and Document Readers

The configuration file `formats.ini` contains a section named `[Formats]`. Each line in this section matches a file format with the reader to use to parse the format. For most file formats there is only one suitable reader, but for some formats you can choose a reader to use.

Each file format has the following structure, where the parts following `MajorFormat` are optional:

    MajorFormat.FileClass.MinorFormat.MajorVersion.MinorVersion

The reader to use for parsing each format is specified as an abbreviation of the reader's library name. Adding "`sr`" to the end of an abbreviation creates the name of the reader. For example, the following line specifies that an Adobe PDF file (format 230) should be parsed by the reader `pdfsr`:

    230=pdf

NOTE: The `formats.ini` file applies to all formats except graphics. Detection of graphics formats is handled by an internal module named KeyView Picture Interchange Format (KPIF).

Copyright 1997-2025 Open Text
Version 25.3 | Last updated July 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.3

Topic Title: File Formats and Document Readers