Create bitmap out of memory in android -
i have following code create canvas size of 8303 × 5540, running code produces outofmemoryexception
.
scaledbitmap = bitmap.createbitmap(8303, 5540, bitmap.config.argb_8888);
how can resolve problem?
setting android:largeheap="true"
in androidmanifest.xml
helped me.
Comments
Post a Comment