[magick-users] How to convert colorspace from "YUV" to "RGBA"?
Zhaoyang Guo
zhaoyang_guo at sdesigns.eu
Tue Nov 18 02:42:29 PST 2008
Hello everyone,
I'm writing to check whether the commands, whick convert a jpeg "444"
picture to "RGB", "420" and "422" formats, are correct.
#from YUV colorspace to RGB colorspace
convert -colorspace RGB Pic_444.jpg Pic_RGB.jpg
convert -sampling-factor 2x1,1x1,1x1 Pic_444.jpg Pic_422.jpg
convert -sampling-factor 2x2,1x1,1x1 Pic_444.jpg Pic_420.jpg
Thank you for your help.
Zhaoyang GUO
--
Sigma Designs Europe
4, rue Ferrus
75014 Paris, France
>
> Fred Weinhaus wrote:
>> 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
>>>
>> _______________________________________________
>> Magick-users mailing list
>> Magick-users at imagemagick.org
>> http://studio.imagemagick.org/mailman/listinfo/magick-users
>>
>
>
--
Sigma Designs Europe
4, rue Ferrus
75014 Paris, France
More information about the Magick-users
mailing list