PDA

View Full Version : From JPEG resources to RAW



paolom
22nd March 2011, 15:58
Hi,

I've a jpeg resources and I need to get the raw data of this jpeg.

If it is possible, is there any Qt component to convert a jpeg resources to a raw buffer ( RGB or CMYK ) ??

Thanks

high_flyer
22nd March 2011, 16:21
If your Qt installation has the jpg plugin, then you can simply load the image, and access the pixel data (RGB) in the QImage.