I have a file with a very large image: for example 9000×9000.
I can’t load the Bitmap in memory because the heap size. But I only need to display a small part of this bitmap for example the rect width=100-200 and height =200-400 (resulting size of the sub-bitmap =100×200)
How can I retrieve this bitmap from the file?
Note: I dont want to lose quality in the 100×200 image
Thanks
is it possible that there is a solution for this?
for example , BitmapRegionDecoder .
It should work for API10 and above…
Usage: