Page 2 of 2

Re: Convert PDF to Images without transparent background

Posted: 2017-01-07T12:44:21-07:00
by LittleKI
Thanks, this works for the most PDF-Files i've tried. But there is one PDF that i can't extract. The resulting Images consists of transparent background only - that means there is no text or something in the image and also no white background.

This is the Command line i've tried:

Code: Select all

convert -density 300x300 -units pixelsperinch input.pdf -background white -alpha background -alpha off -antialias -compress none +adjoin output.tiff 
i can't upload the pdf file because it includes personal data and i've never seen this effect with an other file.

Re: Convert PDF to Images without transparent background

Posted: 2017-01-07T12:57:13-07:00
by fmw42
Without an example PDF that fails, it will be hard to tell you what the problem might be? Can create or modify your PDF so that it is not proprietary. Or can you send the PDF to the IM developers in a private email for them to test.

I do not think -antialias is doing anything in your command.