Search found 3 matches

by francholi
2011-07-22T07:33:04-07:00
Forum: Magick++
Topic: Read Y U V planes from YUV file
Replies: 4
Views: 28523

Re: Read Y U V planes from YUV file

Thanks again for your reply,

I think I found some issues that I managed to solve with the conversion.

As you said, I went down the road to the yuv.c:98 ReadYUVImage() function, and the
thing is that it's doing 4:1:1 by default (at least with the bit of code
that I was using) and crashing my app ...
by francholi
2011-07-21T02:10:36-07:00
Forum: Magick++
Topic: Read Y U V planes from YUV file
Replies: 4
Views: 28523

Re: Read Y U V planes from YUV file

Thanks for you reply Anthony,

then in the following code, what is exactly the meaning of "img.depth(8)" ?
...
Image img;
img.colorSpace(MagickCore::YCbCrColorspace);
img.size("1920x1080");
img.depth(8);
img.magick("UYVY");
img.read(filename);
...

Ok, this works in the command line, same Q16 build ...
by francholi
2011-07-15T10:35:08-07:00
Forum: Magick++
Topic: Read Y U V planes from YUV file
Replies: 4
Views: 28523

Read Y U V planes from YUV file

Hi, I'm new to Magick++ and I'm struggling a bit to get this to work.

I would like to read a raw UYVY 422 8bits (planar or interlaced) image
and get the Y U and V planes without any scaling from the original image.

Is there any way to access the real data that came from the file, before
any ...