BMP Image Compression and Decompression in java

I am searching for a way to compress and decompress a BMP Image in java.

I found an easy way using javax.imageio , like the following tutorial .

using the following two classes (ImageWriter , ImageWriteParam) , but the example provided is just compressing an Image .

what i am looking for is use the same classes and the same mechanism to decompress “my compressed image” that i got from the provided example .

Is there anyway to do this with same mechanism ?

any other solution to compress a BMP are also welcome .

Thanks in Advance.

Source: java

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.