Getting JPG Image Data
Hello there, Is it possible that i can get the JPG data for a image? I know it's possible to get the Image Data, but what i want is the complete data with the header and everything as per JPG format.
So am expecting something like,
unsigned char* pJpgData = cvGetJpgData(img); // where "img" is a Iplimage* or CMat
Thanks
Do you mean for a JPG image that you are loading, or have loaded as Mat?