How to Convert PDF to TIFF in C# using Acrobat SDK
Question details
The user wants to programmatically convert PDF pages into TIFF images using C# and the Adobe Acrobat SDK.

- Product
- Adobe Acrobat SDK
- Device & OS
- not provided
- Scenario
- Developing a C# application that requires automating PDF to TIFF image extraction via Adobe Acrobat interop.
- Observed behavior
- Needs the specific conversion identifier and method to execute the saveAs function from C# code.
Ensure that you have a full version of Adobe Acrobat installed on your development machine and that the Acrobat COM libraries are properly referenced in your C# project.
Automate Acrobat using C# Interop and JavaScript Execution
Use the Acrobat SDK interop in C# to execute the JavaScript saveAs method with the specific TIFF conversion identifier.
While C# does not have a native method named saveAs in the Acrobat SDK, you can bridge this gap by accessing Acrobat's JavaScript Object (JSO). By invoking the JSO's saveAs command, you can export the document using Acrobat's built-in conversion identifiers.
Add a reference to the Adobe Acrobat Type Library (usually Acrobat.tlb or similar) in your C# project's COM references.
Create instances of AcroApp and AcroAVDoc objects to launch Acrobat and open your target PDF file programmatically.
Obtain the PDDoc object from your active AVDoc, then call GetJSObject() to retrieve the Acrobat JavaScript object.
Use the JSO to invoke the saveAs command, passing your destination file path and specifying cConvID as "com.adobe.acrobat.tiff".
Close the PDDoc and AVDoc, exit the Acrobat application, and release the COM objects to prevent memory leaks.
Convert PDFs to Images Easily with WPS Office
If you want to quickly convert PDFs to high-quality images without writing C# code or dealing with complex SDKs, WPS Office provides a fast, built-in solution. You can export PDFs directly to image formats like TIFF, JPG, and PNG with just a few clicks.
- 1. Open PDF in WPS Office: Launch WPS Office and open the PDF document you want to convert.
- 2. Access the Tools Menu: Navigate to the 'Tools' tab located on the top ribbon menu.
- 3. Select PDF to Picture: Click the 'PDF to Picture' button to open the export settings dialog.
- 4. Export the Image: Choose your desired image format (such as TIFF or JPG), select the output quality, and click 'Export' to save the files.

Frequently Asked Questions
What is the conversion ID for other image formats in Acrobat?
For JPEG files, you use 'com.adobe.acrobat.jpeg', and for PNG files, use 'com.adobe.acrobat.png' as the cConvID parameter when calling the saveAs method.
Why does my C# application throw a COM exception with the Acrobat SDK?
This commonly occurs if Adobe Acrobat Pro/Standard is not installed on the machine running the code, or if there is a 32-bit/64-bit architecture mismatch between your application and the installed Acrobat COM objects.
Can I use Adobe Acrobat Reader SDK for saving PDFs as TIFF?
No, the free Acrobat Reader application and its SDK do not support document conversion or the saveAs functionality. You must have a licensed version of Adobe Acrobat Pro or Standard installed.
Are there ways to convert PDF to TIFF in C# without Acrobat?
Yes, you can use various third-party .NET libraries such as Ghostscript.NET, ImageMagick, or iText combined with a rendering engine to convert PDFs to TIFF images without relying on Adobe Acrobat interop.




