Bitmap image compression in java.