Bitmap too large to be uploaded into a texture

今天在使用相机拍照,加载原图的时候,发现无法把原图加载到ImageView中,不过貌似5.0更健壮,并没有抱OOM导致app罢工,而是在logcat中输出:Bitmap too large to be uploaded into a texture,其实这个跟OOM是一个意思。那还是老老实实的对图片进行压缩吧。压缩的的问题就不详说了,这篇文章(http://mobile.51cto.com/abased-406980.htm)写得比较详细,不过没找到原创;

你可能感兴趣的:(Bitmap too large to be uploaded into a texture)