03-29-2023 05:13 AM
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.
04-10-2024 10:19 AM
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)
09-05-2024 06:32 PM
If you need to convert images like JPG back to PDF, this is also easy to do with various tools. When I was doing this, I came across a useful article https://pdfguru.com/blog/how-to-convert-jpg-to-pdf that describes step by step how to do it. It is important to choose the right settings to preserve the quality of the image when converting. This way, you can get good results both when converting PDF to images and vice versa.
Explore our Alfresco products with the links below. Use labels to filter content by product module.