Load large images into Bitmap?
Posted
by GuyNoir
on Stack Overflow
See other posts from Stack Overflow
or by GuyNoir
Published on 2010-05-09T18:53:06Z
Indexed on
2010/05/09
18:58 UTC
Read the original article
Hit count: 249
I'm trying to make a basic application that displays an image from the camera, but I when I try to load the .jpg in from the sdcard with BitmapFactory.decodeFile, it returns null.
It doesn't give an out of memory error which I find strange, but the exact same code works fine on smaller images.
How does the generic gallery display huge pictures from the camera with so little memory?
© Stack Overflow or respective owner