Do you use sub-sampling to create the first bitmap? No
Can you save the decoded image to a file and add it to gallery? Yes , I will save the decoded image to a file and check the clarity of that image. You could then use gallery system app to look at it in great detail. I will look into it . Thanks for your suggestion. Try zooming-in to see whether you have lost some details or not. I prefer to use image view instead of webview, clarity is not good even if zoom in the pic On Wed, Dec 7, 2011 at 9:13 PM, Daniel Drozdzewski < [email protected]> wrote: > Do you use sub-sampling to create the first bitmap? > > Can you save the decoded image to a file and add it to gallery? You > could then use gallery system app to look at it in great detail. > Try zooming-in to see whether you have lost some details or not. > > > Daniel > > > > On 7 December 2011 15:17, Jovish P <[email protected]> wrote: > > In our app we are converting a Base64 string to Bitmap. Assigning this > > bitmap to an imageview. The problem is > > the clarity of the image is not good but when I load it in a browser like > > firefox the clarity is good but at the same time when > > we load in the mobile native browser the clarity is not good. Any idea > how > > to improve the clarity of the image. Is any attributre I am missing to > set > > properly? > > This is my code > > > > byte[] decodedByteArray = Base64.decode(base64String); > > Bitmap decodedBitMap = > > BitmapFactory.decodeByteArray(decodedByteArray, 0, > decodedByteArray.length); > > imageview.setImageBitmap(decodedBitMap); > > > > Attaching the screenshots too ... > > > > -- > > 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 > > > > -- > Daniel Drozdzewski > > -- > 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 -- 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

