You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've encountered a problem (in my project) while doing createScaled + recycle old on jelly bean, so you may encounter similar problem in UniversalImageLoader/src/com/nostra13/universalimageloader/core/ImageDecoder.java
you should call recycle only if sourcebitmap != rescaledbitmap, since android sdk may return the same bitmap if the size is suitable. createScaledBitemp supposed to work this way but only implemented for real on jelly bean.
also I would suggest to add an option to decode using 565 colorspace, if you don't need transparency it uses half of the memory
The text was updated successfully, but these errors were encountered:
I've encountered a problem (in my project) while doing createScaled + recycle old on jelly bean, so you may encounter similar problem in UniversalImageLoader/src/com/nostra13/universalimageloader/core/ImageDecoder.java
you should call recycle only if sourcebitmap != rescaledbitmap, since android sdk may return the same bitmap if the size is suitable. createScaledBitemp supposed to work this way but only implemented for real on jelly bean.
Thanks! I'll consider it.
also I would suggest to add an option to decode using 565 colorspace, if you don't need transparency it uses half of the memory
Yes, I agree. It's really reasonable. I just thought about it.
I've encountered a problem (in my project) while doing createScaled + recycle old on jelly bean, so you may encounter similar problem in UniversalImageLoader/src/com/nostra13/universalimageloader/core/ImageDecoder.java
you should call recycle only if sourcebitmap != rescaledbitmap, since android sdk may return the same bitmap if the size is suitable. createScaledBitemp supposed to work this way but only implemented for real on jelly bean.
also I would suggest to add an option to decode using 565 colorspace, if you don't need transparency it uses half of the memory
The text was updated successfully, but these errors were encountered: