Export PDF to JPG - PDF Tools API - C#

New Here ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

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

 

 

 

Views

232

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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? 

Likes

Translate

Translate

Report

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