Click here to Skip to main content
15,921,841 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi dears
can you please suggest a compression algorithm. I am to store a .jpeg image into 1-2 Kbyte.
thank You.
Updated 3-Dec-09 4:51am

Just adding to CG's reply:

It is possible that you further compress a JPEG image, but that would cause data loss (will result in distorted image).

If this is what you want, there are plenty of articles on CP that explains image processing and JPEG compression. Just do a search. Drop a line if you need further help.
Share this answer
Also, WinZip apparently has an alrorithm that losslessly compresses JPEG's, but I doubt it achieves more than 10-20% compression.

Now, if you have a series of very similar images, then you might be in business.

Oh, and if you are trying to compress an image USING JPEG compression, then you could almost certainly compress it down to 1-2KB. But then it doesn't make sense that you would ask what compression algorithm to use when the one you would be using would obviously be JPEG.
Share this answer
Why would you want to do that ? A jpeg is highly compressed, so I'd suggest that you forget your fantasies and deal with the reality. Nothing is going to make a jpeg much smaller.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900