This content has been marked as final. Show 7 replies
Even the process of loading and storing JPEGs can change the contents, which explains what you are seeing.1 person found this helpful
But I don't get it. JPEG isn't lossless, and it is already compressed.
I am working on a IEEE paper where in I am supposed to achieve a better compression ratios as compared to current JPEG standards. So if only loading and displaying the image results in size reduction and quality too, how do I go ahead with my algorithm
I am working on a IEEE paper where in I am supposed to achieve a better compression ratios as compared to current JPEG standards. So if only loading and displaying the image results in size reduction and quality too, how do I go ahead with my algorithmI suggest you:
(a) start with images in an uncompressed format such as TIFF, rather than a format which is already lossy (JPEG)
(b) acquire some basic knowledge about JPEG before you attempt to improve on it, and
(c) learn to quote accurately. Otherwise your paper will be refereed out of existence. I didn't say anything about 'loading and displaying the image resulting in size reduction and quality too'. I said 'loading and storing'; and 'change the contents', not 'size reduction and quality too'.
A JPEG load and store operation does not result in a bitwise identical file. Frankly you should already know that.
Its even a bit suspect to base your 'research' on what a high level toolkit built in Java produces. Yes ImageIO supports jpeg loading and writing, but you don't know what is done under the hood exactly. The only real way I see to make any claims is to use the low level jpeg libraries to do the test work, at least then you have 100% control over how the API is used. That will probably require some native code, not Java.
But that's just me, and I sometimes overthink things.
Thankyou Sir, for your helpful comments. Could you please guide me on how do I go ahead now? Where do I get to learn more about jpeg images, the way they are stored and displayed and other details, so my basics are cleared.
Start by typing "jpeg" into google. Only that one word is enough, its amazing what you get as a result!
Good Sense of Humor :)