android steganography
<p>I'm doing steganography on Android.  My code is as follows:</p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    mBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.src);
    picw = mBitmap.getWidth();
    pich = mBitmap.getHeight();
    pix= new int[picw * pich];
    mBitmap.getPixels(pix, 0, picw, 0, 0, picw, pich);


try {               
       FileOutputStream fos = super.openFileOutput("dest.png", MODE_WORLD_READABLE);
       mBitmap.compress(CompressFormat.PNG, 100, fos);
       fos.flush();            
       fos.close();            


    }catch (Exception e) {       
      tv.setText(e.getMessage());
    } 
</code></pre>

<p>My problem is that whenever I save source image with the <code>Bitmap.compress()</code> method, the <code>pix[0]</code> value changes during compression, so I'm unable to extract original data.  How can I fix this?</p>
