Page 1 of 1
PNG with opacity on JPEG ?
Posted: 2009-02-04T05:40:46-07:00
by Tiffany
Hi,
Is there any way to paste(fusion?) a PNG ( with opacity and alpha blending ) on a JPEG ?
Re: PNG with opacity on JPEG ?
Posted: 2009-02-04T16:36:22-07:00
by rmagick
That's called compositing. Here's the scoop:
http://www.imagemagick.org/Usage/compose/
Re: PNG with opacity on JPEG ?
Posted: 2009-02-05T00:34:49-07:00
by anthony
JPEG can not handle transparency, so you need to remove the transparency by overlaying the image onto some background.
the simplist method is to set
-background, and the
-flatten. But other composition methods can also be used.
See JPEG transparency - NOT!
http://www.imagemagick.org/Usage/formats/#jpg_trans