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
看了一下 SubsamplingScaleImageView 的 issue 和 Stackoverflow,这应该是 SubsamplingScaleImageView 那边的一个问题。 Stackoverflow 上说崩溃的原因是因为 SubsamplingScaleImageView 中 Bitmap.Config 默认使用了 RGB_565 导致的。
SubsamplingScaleImageView
Stackoverflow 上建议对 SubsamplingScaleImageView 设置:
SubsamplingScaleImageView.setPreferredBitmapConfig(Bitmap.Config.ARGB_8888);
Github 上说到 Bitmap.Config.HARDWARE 应该被设置为默认,但是 API > 26 && API < 28 中存在一些问题需要进行判断 更详细的解决方法在这里: davemorrissey/subsampling-scale-image-view#559 (comment)
希望大佬能看一下在 BigImageViewPager 中进行缓解,那边看上去很久没人更新了。
The text was updated successfully, but these errors were encountered:
好的,我这边测试一下。希望能够提供heic图片的url
Sorry, something went wrong.
嗯嗯,这是我之前上个 issue 中那三张 HEIC 图片的 Url:
No branches or pull requests
看了一下
SubsamplingScaleImageView
的 issue 和 Stackoverflow,这应该是 SubsamplingScaleImageView 那边的一个问题。Stackoverflow 上说崩溃的原因是因为
SubsamplingScaleImageView
中 Bitmap.Config 默认使用了 RGB_565 导致的。Stackoverflow 上建议对 SubsamplingScaleImageView 设置:
Github 上说到 Bitmap.Config.HARDWARE 应该被设置为默认,但是 API > 26 && API < 28 中存在一些问题需要进行判断
更详细的解决方法在这里: davemorrissey/subsampling-scale-image-view#559 (comment)
希望大佬能看一下在 BigImageViewPager 中进行缓解,那边看上去很久没人更新了。
The text was updated successfully, but these errors were encountered: