Hi all,
I'm converting a PDF file (4 pages) to a TIFF file format but the resulting file has a transparent background and i need to have an opaque white background.
This is the command I've used to:
convert -depth 8 -colorspace sRGB -density 300 -compress LZW -opaque white pdfalt:c:\tmp\fact_det_pdf.pdf c:\tmp\image.tiff
I've been trying a lot of different options but I got always the same result.
Any ideas?
Thanks in advance.
PDF to TIFF transparet backgroud
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: PDF to TIFF transparet backgroud
"-opaque" doesn't do what you want. See the documentation http://www.imagemagick.org/script/comma ... php#opaque
Try:
... with whatever other options you need.
Try:
Code: Select all
convert in.pdf -background White -alpha Remove out.png
snibgo's IM pages: im.snibgo.com
Re: PDF to TIFF transparet backgroud
Thank you very much snibgo, that's it!!!