Read RAW Image
Posted: 2011-05-06T02:18:42-07:00
Hi everyone
I need to convert 8 Bit UYVY 4:2:2 images to jpeg in my code. I can do this easily using
This works well. However, if I write in the code
I get an exception saying
Can anyone help me with this?
Thanks
Fabio
I need to convert 8 Bit UYVY 4:2:2 images to jpeg in my code. I can do this easily using
Code: Select all
convert -size 1920x1080 -depth 8 UYVY:frame1.raw frame1.jpg
Code: Select all
Image image;
image.size("1920x1080");
image.depth(8);
image.magick("UYVY");
image.read("frame1.raw");
image.write("frame1.jpeg");
Code: Select all
Magick: no decode delegate for this image format `frame1.raw' @ error/constitute.c/ReadImage/532
Thanks
Fabio