How to transform PDF to image with custom resolution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Alfresco Developer
- Labels:
-
Alfresco Content Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
