Anthony,
Does this mean that one should do:
convert image -alpha flatten -alpha off result
to get the opaque alpha channel turned off or is that already included in the -alpha flatten. You comments were a bit unclear to me.
Fred
Black JPEG Bug
Re: Black JPEG Bug
So I've tried all options provided here, including flatter alpha remove etc.. but nothing works when converting pdf to jpg
convert -density 72 foo.pdf -background white -flatten bar.jpg
convert -density 72 foo.pdf -alpha flatten bar.jpg
convert -density 72 foo.pdf -alpha off flatten bar.jpg
convert -density 72 foo.pdf -alpha remove flatten bar.jpg
ImageMagick 6.7.7-10 2012-06-29 Q16 on Debian 6
convert -density 72 foo.pdf -background white -flatten bar.jpg
convert -density 72 foo.pdf -alpha flatten bar.jpg
convert -density 72 foo.pdf -alpha off flatten bar.jpg
convert -density 72 foo.pdf -alpha remove flatten bar.jpg
ImageMagick 6.7.7-10 2012-06-29 Q16 on Debian 6
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Black JPEG Bug
That is a very old version. I suggest you upgrade. If you still have problems, post a link to the file.
snibgo's IM pages: im.snibgo.com
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Black JPEG Bug
no such thing as -alpha flatten.
See IM Examples, Masking and Channels, Alpha Channel Handling
http://www.imagemagick.org/Usage/masking/#alpha
For a complete example set on removing transparency, before saving to JPEG see the next major section...
Removing Transparency from Images
http://www.imagemagick.org/Usage/masking/#remove
See IM Examples, Masking and Channels, Alpha Channel Handling
http://www.imagemagick.org/Usage/masking/#alpha
For a complete example set on removing transparency, before saving to JPEG see the next major section...
Removing Transparency from Images
http://www.imagemagick.org/Usage/masking/#remove
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/