I am trying to write the contents of the bitmap without doing a
compress on it for a format, as I am facing somme problems in quality
while formatting.

I am using thte below code but its not working,

ByteBuffer bf = ByteBuffer.allocate(IMAGE_WIDTH*IMAGE_HEIGHT*4);
mBitmap.copyPixelsToBuffer(bf);
out.write(bf.array());

Is there any other way forward,can i do a get pixels and write it to
an output stream?

If i can any sample code or pointers for the same?

Thanks in advance,
R.Karthik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to