- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I Can decode jpeg to RGB color space.
JPEG_CORE_PROPERTIES jcprops;
jcprops.JPGColor= IJL_YCBCR;
jcprops.DIBColor= IJL_RGB;
jcprops.DIBChannels= 3;
jcprops.DIBWidth = jcprops.JPGWidth=640;
jcprops.DIBHeight = jcprops.JPGHeight=480;
The Image is right;
when i change IJL_RGB to IJL_YCBCR the return pointer memory is wrong.
it only more than 640*480,and less than 640*480*3/2.
I see page 81 of ijlman.pdf ,is say can support YCBCR.
How can i do?
Thanks in advance!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please refer to ijlman.pdf file for the details how to decode JPEG to YCbCr color sspace. Please also note, that only JPEG with 422 sampling can be decoded to YCbCr space with IJL or JPEGView IPP samples
Regards,
Vladimir

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page