jump to navigation

Crop pdfs when converting with image magick April 30, 2008

Posted by maxmil in : pdf , add a comment

When converting pdf’s with image magick i have had the problem that invisible content that is outside the visible page of the pdf shows up in the converted image. After some searching i found the solution. Use the pdf option use-cropbox.
imconvert -define pdf:use-cropbox=true file.pdf file.jpeg