This code falls on some devices with 16mb VM heap limit on the line

image.bmp = Bitmap.createScaledBitmap(bmp, dstWidth, dstHeight, true);

from the scaleFrom method.

Bitmap.Options did not help at all. Any advise or insight for more
effient approach is greatly appreciated.

Please view Java file attached.

ScaleBitmap.java

http://www.mediafire.com/?k996vn166x6ru68

How can this code be converted to canvas.scale or canvas.drawBitmap.

NOTE:

Images are being scaled up according to screen size.

-- 
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