Hello,
I was using until today ImageMagick 6.3.0, which could open perfectly well YUV 4:2:2 images but not YUV 4:2:0 images, so i decided to update my software. I downloaded the sources of the 6.4.1 version, compiled them on my opensuse 64b system, and I now have a problem with both 4:2:2 and 4:2:0 images
$ display --version
Version: ImageMagick 6.4.1 09/11/08 Q16 http://www.imagemagick.org
$ od -Ad -tx1 black_128_100.yuv
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0012800 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f 7f
*
0025600
$display -size 128x100 -depth 8 -sampling-factor 4:2:2 -interlace plane black_128_100.yuv
And the image displayed is green, as it used to be with images filled with "0", which is not the case for this one ad you can see. And this image still shows black with the imagemagick 6.3.0 that I still have on another computer (with same linux / hardware).
Thanks in advance for your help
PS : there is no problem with rgb raw images, or bmp images
opening a YUV image with ImageMagick
Re: opening a YUV image with ImageMagick
Add -colorspace RGB to your display command line. If that fails, post a URL to your image so we can download it and reproduce the problem.
Re: opening a YUV image with ImageMagick
Thanks
Now it works again for YUV422 images, though still not for 420 ones but I didn't hope that much
Now it works again for YUV422 images, though still not for 420 ones but I didn't hope that much