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?".
I am using ghostscript and imagemagick to convert pdf-files to jpg image files. Unfortunatly I am experiencing problems with some pdf files that contains a lot of transparent objects. In theese case the conversion process only generates blank output
But when I optimize the pdf files in acrobat professional (the problem is solved)
To skip this step in acrobat professional I was wondering if there was a way to use imagemagick to flatten transparency?
Theese are the settings I am using for imagemagick:
I am using ghostscript and imagemagick to convert pdf-files to jpg image files. Unfortunatly I am experiencing problems with some pdf files that contains a lot of transparent objects. In theese case the conversion process only generates blank output
But when I optimize the pdf files in acrobat professional (the problem is solved)
To skip this step in acrobat professional I was wondering if there was a way to use imagemagick to flatten transparency?
Theese are the settings I am using for imagemagick:
-flatten and -layers flatten are the same thing. The former is for backward compatibility and convenience.
I hope you are not trying to go from PDF to PDF, that is not a good thing to do with IM as that it outside its scope.
See A word about Vector Image formats http://www.imagemagick.org/Usage/formats/#vector
Thanks for replying to my post. No I'm not trying to go from PDF to PDF, it's from PDF to jpg.
After testing multiple settings I have discovered that if I remove the -density 250 or lower it to -density 50 the pages which gave me problems are created unfortunatly the quality is very low and jagged. As mentioned earlier then the problem seems to appear when the PDF page contains a lot of transparent objects.
The pages that dosent contain a lot of transparent objects are processed without any problems by using the settings described in my previoius post.