Skip to main content
thegeneral1223
Participant
July 30, 2020
Question

Export PDF to JPG - PDF Tools API - C#

  • July 30, 2020
  • 1 reply
  • 1051 views

For the code below, is there a way to define the resolution that the output will be generated?  The API creates a rather low resolution image.  I would like to create a much high resolution image.

--------------------------------------------------------------------------

 

ExecutionContext executionContext = ExecutionContext.Create(credentials);
ExportPDFOperation exportPdfOperation = ExportPDFOperation.CreateNew(ExportPDFTargetFormat.PNG);

// Set operation input from a source file.
FileRef sourceFileRef = FileRef.CreateFromLocalFile(@"exportPdfToImageInput.pdf");
exportPdfOperation.SetInput(sourceFileRef);


// Execute the operation.
FileRef result = exportPdfOperation.Execute(executionContext);

 

 

 

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    October 6, 2020

    Thanks for reaching out to us. As of now we do not support setting up resolution of the output images exported from a given PDF file through our SDKs.

    Participant
    October 18, 2021

    Hi Adobe - any plans to implement this in the future?

    We would also like to use the your API to export to PNG - but we need to be able to define the resolution as per the AdobeDC desktop application.

    Participant
    May 31, 2022

    Hi Adobe, this would really be very useful to be able to adjust the resolution and other parameters, as we are able to do with the desktop Adobe DC application... Any update if this will be implemented?