Android has no real support for BMP files. You are welcome to try to
find some third-party code that can assist you in encoding in that
format. It will need to be C/C++ code that you integrate with JNI and
the NDK, as any Java implementation will be slower than the native
routines used in Android for, say, PNG.

So, you can either spend weeks and weeks trying to solve a performance
problem that you have not demonstrated actually exists, or you can
just use PNG and deal with the performance problem if and when it
appears.

On Thu, Jun 9, 2011 at 12:53 AM, PMR <[email protected]> wrote:
> Hi all,
> I am new to this group...sorry if I make any mistakes....:)
> I want to save a bitmap object as .bmp file...i dont want it to be
> compressed....i may reuse this bmp file back in my app so dont want to
> do repeated computation of compression and decompression from bitmap
> to png and again from png to bitmap.
> Any ideas ...
> Thanks in advance
>
> --
> 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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.0 Programming Books: http://commonsware.com/books

-- 
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