How to transform PDF to image with custom resolution?

cancel
Showing results for 
Search instead for 
Did you mean: 
upforsin
Senior Member

How to transform PDF to image with custom resolution?

Hello,

how can I transform a PDF to PNG with a high DPI (300)?

Currently, after applying the transformation, i.e. using the "Transform and copy image" rule action, it seems like the DPI is a lot less than 300 (~70).

I am using Alfresco Community 7.2 and for PDF->PNG transformation, the pdfToImageViaPng transformer is used which uses the pdfrenderer and imagemagick transformers.

pdfrenderer is the alfresco-pdf-renderer application which uses PDFium which should render in 300dpi.

imagemagick  has the default density of 72dpi and I do not see and changes in that configuration.

I've tested it also on the Alfresco Community 6.1.2 - there is the same result.

howkymike
Alfresco Developer
1 Reply
TerryReed
Member II

Re: How to transform PDF to image with custom resolution?

I convert it online here: https://oneconvert.com/pdf-converter/pdf-to-jpg

Then resize it with something like this: https://imageresizer.com/

It works for me, hope it helps you as well)