The XpdfAnalyze™ library allows you to determine the object types and colors used on one or more pages in a PDF file. Object types are: images, text strings, strokes (lines), and fills (filled polygons). Object type information can be used to detect image-only, text-only, and image-and-text PDF files. Color information includes color spaces (DeviceRGB, DeviceCMYK, Separation, etc.), as well as information on which process colors (CMYK) and/or custom colors (spot colors) are used.

Supported Platforms

Intellectual Property

The XpdfAnalyze library and documentation are Copyright 1996-2021 Glyph & Cog, LLC.

The PDF data structures, operators, and specification are documented in ISO 32000-2:2020.

About Glyph & Cog

Glyph & Cog designs and implements software for manipulating electronic documents. Current offerings include software libraries, components, and consulting services related to reading, viewing, and converting PDF files.

For more information, visit our web site at