The XpdfImageExtract™ library/component provides access to the images in PDF files. It can extract the images to memory or disk, as well as simply generating a list of the images along with their size and color space information.
To clarify: XpdfImageExtract works with the raw bitmaps of images placed in a PDF file. It does not convert vector graphics or text to bitmaps.
XpdfImageExtract is easy to use:
pdf = new XpdfImageExtract.XpdfImageExtract pdf.loadFile("input.pdf") pdf.getImages(1) ' extract images on page 1 n = pdf.getNumImages For i = 0 To n-1 pdf.getImageInfo(i, mask, colorSpace, w, h) .... Next i
- 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.