Not always but occasionally when I try to convert some pdfs to a tiff using ImageMagick their backgrounds which were previously white turn either a dark grey or in one case the tiff came out completely green. Here's the convert command I'm using currently: convert -density 288 "fileName.pdf" -alpha off -background None -layers merge "fileName.tif"
Any suggestions/help would be greatly appreciated.
PDF To Tiff conversion issue
-
- Posts: 1
- Joined: 2012-05-15T12:08:52-07:00
- Authentication code: 13
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: PDF To Tiff conversion issue
Your pdf probably was transparent and had that background color. By turning transparency off, you expose the given underlying color. If you want to retain the transparency as you used -background none, then remove the -alpha off. If you want to make some other color rather than transparent, then use
convert -density 288 "fileName.pdf" -background somecolor -layers merge "fileName.tif
or just use -flatten rather than -layers merge.
convert -density 288 "fileName.pdf" -background somecolor -layers merge "fileName.tif
or just use -flatten rather than -layers merge.