Skip to Content

Can the Library convert PDF files to images?

Estimated Reading Time: 1 Minutes

The core Adobe PDF Library C++ interface can be used to rasterize a PDF page to a memory buffer via the PDPageDrawContentsToMemory*() APIs. The user application can then convert that to a PDEImage and export to the desired image format (TIF, JPG, etc.) using DLExportPDEImage() or the user application can process the memory buffer directly and add appropriate image header data (typically leveraging LibTIFF, etc.) .

.NET and Java interfaces 

The .NET and Java interfaces support directly writing to various image formats.

Note that if your application only needs to convert PDF pages to image files, you might want to consider another Datalogics product, PDF2IMG. This utility is based on the Adobe PDF Library and enables you to convert an existing PDF document to one or more BMP, EPS, GIF, JPG/JPEG, PNG or TIFF image files. You can use PDF2IMG as a standalone utility or embed PDF2IMG code within your own application.

Can the Library convert PDF files to images?
  • Impressive flexibility in the Adobe PDF Library — the ability to rasterize pages to memory via PDPageDrawContentsToMemory*() and export with DLExportPDEImage() offers fine-grained control for C++ developers. And for streamlined workflows, PDF2IMG provides a solid alternative for direct PDF-to-image conversion across multiple formats. Great options for both low-level and high-level integration!

  • COMMENT