(Lossless) compression is not necessarily faster than writing larger files.
The speed you gain by not using compression may be lost because you need to write larger files (IO is not that fast). But you could experiment and see what's faster. If you don't want to use compression at all, you could use the Bitmap's 'getPixels' method and write out the byte-array directly (and uncompressed) to a file. Or you can use the Bitmap's 'copyPixelsToBuffer' method, providing an ByteBuffer that you then can write to a FileChannel. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en