PDF Conversion Issues

How to Export PDF Pages as Raster Images using Acrobat SDK

Elise WilliamsElise Williams Nov 3, 2026 869 views

Question details

Developers are looking for programmatic ways to export or save PDF pages into raster image formats utilizing Adobe Acrobat SDK or JavaScript workflows.

Exporting PDF Pages as Raster Images with Acrobat SDK
Product
Adobe Acrobat SDK
Device & OS
not provided
Scenario
Automating or scripting the conversion of PDF file content into high-quality raster image formats such as JPEG or TIFF.
Observed behavior
Successfully utilizing Acrobat JavaScript Document methods to render, save, or export PDF content into rasterized image files.
Before you start

Ensure you have Adobe Acrobat Pro installed and properly configured, as Adobe Acrobat Reader does not support executing advanced document conversion scripts or the saveAs API.

Solution 1Recommended

Use Acrobat JavaScript saveAs Method

Utilize the Document object's saveAs method to programmatically convert PDF pages to raster images.

Acrobat JavaScript provides robust methods for exporting PDF content. By utilizing the Document object's saveAs method, developers can convert PDF documents to various raster formats depending on the specific output requirements and security permissions.

1
Open the Acrobat JavaScript Console

Launch Adobe Acrobat Pro and open the JavaScript Debugger console to write and test your conversion scripts.

2
Write the saveAs script

Implement the `this.saveAs()` method in your script. You must specify the output file path and the required conversion parameter (cConvID) for the target raster format, such as `com.adobe.acrobat.jpeg` or `com.adobe.acrobat.tiff`.

3
Execute the document conversion

Run the script on your active PDF. Ensure the document's security settings allow content extraction and saving to external formats.

Use Acrobat JavaScript saveAs Method
Format Parameters: Different image formats require specific cConvID string identifiers. Refer to the Acrobat JavaScript API Reference to find the exact format parameters supported by your Acrobat version.

Convert PDF to Raster Images Instantly with WPS Office

If you need to export PDF pages as high-quality raster images (like JPG or PNG) but want to avoid writing complex scripts or purchasing expensive developer SDKs, WPS Office provides an incredibly simple, built-in PDF to Picture conversion tool.

  1. 1. Open your PDF in WPS Office: Launch WPS Office and open the PDF document you wish to convert to images.
  2. 2. Access the PDF to Picture tool: Navigate to the 'Tools' tab on the top ribbon menu and click on the 'PDF to Picture' option.
  3. 3. Configure output settings: Select your desired raster image format (e.g., JPG or PNG), choose the output quality, and select whether to export pages individually or combined into one long image.
  4. 4. Export the raster images: Click 'Export' to immediately process and save your PDF pages as high-resolution images to your designated folder.
Easily export PDFs to JPG, PNG, BMP, or TIFF formats without writing any codeHighly compatible with all standard Adobe Acrobat PDF document versionsCustomize output DPI, watermarks, and image quality directly from a user-friendly interfaceSupport for bulk processing multi-page PDF documents effortlessly
microsoft office alternative - wps office

Frequently Asked Questions

What raster image formats can I export using the Acrobat saveAs method?

By supplying the correct conversion ID (cConvID), you can export PDF pages to popular raster formats including JPEG, TIFF, PNG, and JPEG2000, provided your version of Acrobat supports those encoders.

Why does my Acrobat JavaScript saveAs script throw a security exception?

The saveAs method is strictly governed by Acrobat's security policies. It typically must be executed in a privileged context, such as a trusted folder-level script or a predefined Action Wizard, rather than directly from an embedded document-level script.

Do I need Adobe Acrobat Pro to execute PDF conversion scripts?

Yes, automating the saveAs method for document conversion requires the advanced API access provided by Adobe Acrobat Pro. The free Adobe Reader lacks the necessary permissions and modules to execute these scripts.

Can I convert PDF pages to images manually without using an SDK?

Absolutely. You can use fully featured desktop software like WPS Office to directly convert PDF pages to images via the intuitive 'PDF to Picture' feature, completely bypassing the need for scripting or development tools.