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

Reply via email to