I am trying to implement a Steganography project for Android. I have manipulated the pixel values and created a new bitmap. Now when i store the bitmap into the phone memory or memory card using
//fo denotes File output Stream
Bitmap.compress(Bitmap.CompressFormat.JPEG,100,fo);
//OR
Bitmap.compress(Bitmap.CompressFormat.PNG,100,fo);
and try accessing the pixels back using getPixels();
the values are reverted back to the original bitmap i.e. rather than the manipulated bitmap. Can anybody figure why this is?