PDF issues on windows

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Post a URL to one of your problematic PDF files. We need to download it and reproduce the problem before we can offer any advice.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Add -trim to your command line to remove the white edges.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

We're using ImageMagick 6.2.6-1 and this command:
  • convert union.pdf -trim union.jpg
ImageMagick crops to the PDF MediaBox. Your image has a TrimBox and an ArtBox. According to the spec you can have one or the other but not both. Either way we currently ignore these tags.
Post Reply