inBitmap指定后BitmapFactory.decodeFile可能为空
--- SkImageDecoder: Cannot reuse bitmap with sampleSize != 1
这时候把inBitmap设为空,再重新decodeFile
options.inBitmap = null;
bmp = BitmapFactory.decodeFile(filePath, options);
本文讨论了在使用BitmapFactory.decodeFile时遇到的inBitmap设置导致的问题,提出了将其设为空后再重新调用decodeFile的方法来解决。重点介绍了SkImageDecoder中的错误提示及其解决方案。
inBitmap指定后BitmapFactory.decodeFile可能为空
--- SkImageDecoder: Cannot reuse bitmap with sampleSize != 1
这时候把inBitmap设为空,再重新decodeFile
options.inBitmap = null;
bmp = BitmapFactory.decodeFile(filePath, options);
374

被折叠的 条评论
为什么被折叠?
