Thursday, September 1, 2011

[android-developers] Re: Should i resize the bitmap before adding to a ImageView or let the ImageView resize the Bitmap?

Benjamin wrote:
> Hello friends,
>
> i have a simple question: Should i resize a bigger bitmap before
> adding to a ImageView or let the ImageView resize the Bitmap?
>
> What's the right way, regarding performance?
>
> Thanks

AFAIK ImageView doesnt resize your Bitmap - it can only scale its
Canvas while drawing

pskinke its Canvas while drawing

pskink

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment