💻 Software
PDF => raster, is it possible to adapt the sampling resolution to the input page size?
Fresh5 days ago
Mar 15, 20262095 viewsConfidence Score0%
0%
Problem
I am using (Imagemagick component, delegating to Ghostscript in background) to transform the first page of PDF files to images. Usually, will do the job, and it will sample the PDF file at 200 pixels per inch of paper. However it seldom happens that some PDF are abnormally huge (sometimes A0 paper,…
Error Output
convert
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: PDF => raster, is it possible to adapt the sampling resolution to the input page size?
Low Risk
I modified mupdf's pdfdraw to support drawing in best fit mode, so I could state that the output needed to be 128x128 at most and it would fit the output in the box while maintaining the aspect ratio. Before I did that the only way was to use pdfinf…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix