Does passing BufferedInputStream/BufferedOutputStream classes to the Bitmap functions like compress and decodeStream make these functions run any faster? Or does the underlying code for these function take care of wrapping a buffer around? Which one is better or faster of the belowmentioned or does it make no difference?
Q1. i. bitmap.compress(Bitmap.CompressFormat.PNG, 100, bos);// bos = BufferedOutputStream ii. bitmap.compress(Bitmap.CompressFormat.PNG, 100, os);// FileOutputStream Q2. i. BitmapFactory.decodeStream(new BufferedInputStream(in)); ii. BitmapFactory.decodeStream(new FileInputStream(in)); Thanks. -- 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

