开发者

OutOfMemoryError while resizing Bitmap

开发者 https://www.devze.com 2023-03-25 01:28 出处:网络
I am trying to resise a 开发者_开发问答Bitmap image using bitmap.scaleInto function. I got the out of memory exception while trying to do that for an image having a 2MB size. How can I make a resize o

I am trying to resise a 开发者_开发问答Bitmap image using bitmap.scaleInto function. I got the out of memory exception while trying to do that for an image having a 2MB size. How can I make a resize of large image files without getting such an exception?

Thanks


This can be closed, solution is here: http://supportforums.blackberry.com/t5/Java-Development/Beginner-OutOfMemory-Error-when-Resizing-Bitmap/m-p/706427/highlight/true#M137817

0

精彩评论

暂无评论...
验证码 换一张
取 消