Image conversion from JPEG to Byte Array in Android
<p>I want to convert JPEG image to Byte Array in android. I am using the below code:</p>

<pre><code>if (PhotoScreen.st_bitPicture != null)
            {

                ByteArrayOutputStream bos = new ByteArrayOutputStream();  
                boolean b = PhotoScreen.st_bitPicture.compress(CompressFormat.JPEG, 100, bos);
                Log.w("test2", "BOOLEAN  BOOLEAN BOOLEAN BOOLEAN :"+b);
                m_base64EncodedImage = Base64.encodeToString(bos.toByteArray(), Base64.DEFAULT);
            }
</code></pre>

<p>But it is compressing the image. How can i do without compressing the image?</p>
