Image compression
-
Hi All, I want to compress Image to maximum rate, what the best Algorithm can I use? If any one have a class to do that, please give me it ? Ala Qunaibi :)
-
Hi All, I want to compress Image to maximum rate, what the best Algorithm can I use? If any one have a class to do that, please give me it ? Ala Qunaibi :)
Depends on the content of the image and the type of compression you like to have: - lossy or lossless - picture has few distinct colors (like a comic) or is a photograph For photos, you should choose jpeg or some wavelet based algorithms like jpeg2000. Both offer lossy and lossless compressions, although the lossy ones work pretty well for photographs, but look a bit ugly with high compression ratios (you will get lots of artifacts). For pictures with only a few colors, you can choose the palette based GIF (up to 255 colors) or PNG for images with more colors. PNG offers lossless compression. regards
-
Depends on the content of the image and the type of compression you like to have: - lossy or lossless - picture has few distinct colors (like a comic) or is a photograph For photos, you should choose jpeg or some wavelet based algorithms like jpeg2000. Both offer lossy and lossless compressions, although the lossy ones work pretty well for photographs, but look a bit ugly with high compression ratios (you will get lots of artifacts). For pictures with only a few colors, you can choose the palette based GIF (up to 255 colors) or PNG for images with more colors. PNG offers lossless compression. regards
Thanks, My Images are Photos and Compression type is lossless. Can You help me , where can I find source code about What you said, or Examples? Ala Qunaibi :)
-
Depends on the content of the image and the type of compression you like to have: - lossy or lossless - picture has few distinct colors (like a comic) or is a photograph For photos, you should choose jpeg or some wavelet based algorithms like jpeg2000. Both offer lossy and lossless compressions, although the lossy ones work pretty well for photographs, but look a bit ugly with high compression ratios (you will get lots of artifacts). For pictures with only a few colors, you can choose the palette based GIF (up to 255 colors) or PNG for images with more colors. PNG offers lossless compression. regards
Greeeg wrote:
For photos, you should choose jpeg or some wavelet based algorithms like jpeg2000. Both offer lossy and lossless compressions
No, there is no lossless JPEG compression.
Despite everything, the person most likely to be fooling you next is yourself.
-
Greeeg wrote:
For photos, you should choose jpeg or some wavelet based algorithms like jpeg2000. Both offer lossy and lossless compressions
No, there is no lossless JPEG compression.
Despite everything, the person most likely to be fooling you next is yourself.
JPEG 1991 supports lossless compression, see http://www.cis.temple.edu/~vasilis/Courses/CIS750/Papers/doc_jpeg_c_5.pdf[^] But it's rarely implemented Jpeg2000 supports lossless compression and is more recommended and more commonly implemented. The vast majority of jpeg2000 libraries I've used support it.
-
JPEG 1991 supports lossless compression, see http://www.cis.temple.edu/~vasilis/Courses/CIS750/Papers/doc_jpeg_c_5.pdf[^] But it's rarely implemented Jpeg2000 supports lossless compression and is more recommended and more commonly implemented. The vast majority of jpeg2000 libraries I've used support it.
Matty22 wrote:
JPEG 1991 supports lossless compression
No, it doesn't. That's an addition made in 1993, and it's not supported by the standard libraries. wikipedia: Lossless JPEG[^]
Despite everything, the person most likely to be fooling you next is yourself.