We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
保存的图片尺寸变小了。因为绘图的时候进行了压缩。 Bitmap bitmap = ImageUtils.createBitmapFromPath(mImagePath, this);
直接Bitmap bitmap = BitmapFactory.decodeFile(mImagePath);可以恢复原来的尺寸,但是大图又OOM。
有没有办法绘制的时候压缩来避免OOM,保存的时候恢复到原图的尺寸呢。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
保存的图片尺寸变小了。因为绘图的时候进行了压缩。
Bitmap bitmap = ImageUtils.createBitmapFromPath(mImagePath, this);
直接Bitmap bitmap = BitmapFactory.decodeFile(mImagePath);可以恢复原来的尺寸,但是大图又OOM。
有没有办法绘制的时候压缩来避免OOM,保存的时候恢复到原图的尺寸呢。
The text was updated successfully, but these errors were encountered: