I Can decode jpeg to RGB color space.
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!
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