Support for YUV420P?
Posted: 2011-08-29T22:33:09-07:00
Greetings! I was wondering if ImageMagick++ has an easy way to convert RGB pixels into YUV420P (planar) values? I need to set the pixel data on a SDL_Overlay, which requires me to convert my Magick::Image pixel data into the YUV420P format. Can ImageMagick++ help me with this conversion? Or should I write my own conversion code?
I did find the Magick::ColorYUV class, but it doesn't seem to support the 4:2:0 planar format... unless I am misunderstanding how it works. Any thoughts would be much appreciated.
Thanks!
-Jonathan
I did find the Magick::ColorYUV class, but it doesn't seem to support the 4:2:0 planar format... unless I am misunderstanding how it works. Any thoughts would be much appreciated.
Thanks!
-Jonathan