Hi there! I am using the Canvas class to draw things onto existing images. Right now I am using the following code:
---snip--- // File is a JPG file, e.g. "example.jpg" Bitmap immutableBitmap = BitmapFactory.decodeFile(file.getAbsolutePath ()); Bitmap b = immutableBitmap.copy(Bitmap.Config.ARGB_8888, true); immutableBitmap = null; Canvas c = new Canvas(b); Paint p = new Paint(); // drawing starts here ---snap--- As you can see I first read a bitmap from a file, just to create a mutable copy of it in the next step. But isn't this a huge lack of performance? Wouldn't it be better to create a mutable bitmap directly? And how may I achieve this, if possible? Thanks in advance & regards Marc Reichelt || http://www.marcreichelt.de/ -- 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