jpg file load in C/C++

Status
Not open for further replies.

legolas

Padawan
Hi,

I have to program a fft function, which i/ps and image and calculates the fft/ifft of the image... I would like to know the syntax for loading a jpg file in the desired format, like the RGB components separated please...

thks,
cedance.
 
OP
L

legolas

Padawan
can any1 link me to some C/C++ forum which might help in this regard. I need it relatively faster! :(

thks,
legolas
 
OP
L

legolas

Padawan
Ok, finally I got some answers from other forums, coz jpeg is a compressed format, for loading the information abt the pixels in the RGB format, we have to first uncompress the image using the specifications mentioned in the jpeg manual it seems. I am on it, trying to uncompress the image getting the pixel values. I would definitely post the code, if i am done with it. i dont kno how complex it is yet.

thanks,
legolas.
 
Status
Not open for further replies.
Top Bottom