Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Export PDF to JPG - PDF Tools API - C#

New Here ,
Jul 30, 2020 Jul 30, 2020

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);

 

 

 

1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 06, 2020 Oct 06, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 18, 2021 Oct 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 31, 2022 May 31, 2022
LATEST

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? 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources