[magick-users] How to convert colorspace from "YUV" to "RGBA"?

Fred Weinhaus fmw at alink.net
Mon Nov 17 11:47:32 PST 2008


In principle, just

convert image.jpg -channel rgba -alpha on -colorspace yuv output.png

you need png or gif for output or some format 
that will save alpha channel. But as jpg does not 
support alpha channel, you will just get an 
opaque image as the result anyway.


see
http://www.imagemagick.org/script/command-line-options.php#colorspace
http://www.imagemagick.org/script/command-line-options.php#alpha
http://www.imagemagick.org/script/command-line-options.php#channel
http://www.imagemagick.org/Usage/basics/#alpha
http://www.imagemagick.org/Usage/channels/



>Dear expertsÅC
>
>I'm writing to ask how to convert *.jpg picture from YUV colorspace to
>RGBA colorspace?
>
>Thank you for your help.
>
>Zhaoyang GUO
>
>--
>Sigma Designs Europe
>
>4, rue Ferrus
>75014 Paris, France


More information about the Magick-users mailing list