XpdfAnalyze



The XpdfAnalyze™ library/component 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)
- 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.
XpdfAnalyze is easy to use:
pdf = new XpdfAnalyze.XpdfAnalyze
pdf.loadFile("input.pdf")
pdf.analyzePages(1, 4) ' analyze pages 1-4
n = pdf.getNumImages() ' number of images on pages 1-4
Supported platforms:
- Windows: DLL
- Windows: COM component - usable from .NET, Visual Basic, Delphi, etc.
- Mac OS X: shared library
- Linux: shared library
- 32-bit and 64-bit versions available for all platforms
- other platforms: portable C++ source code for the library is available
Contact Glyph & Cog for more information, including pricing, documentation, and evaluation copies.