Skip to content
New issue

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

Again: can not resize correctly #3974

Closed
cuichanghao opened this issue Nov 12, 2019 · 1 comment
Closed

Again: can not resize correctly #3974

cuichanghao opened this issue Nov 12, 2019 · 1 comment

Comments

@cuichanghao
Copy link

cuichanghao commented Nov 12, 2019

related #3673
this issue was not solved.
cannot get correct resize bitmap.

version: 4.10.0.
os: Android 9

@cuichanghao
Copy link
Author

cuichanghao commented Nov 12, 2019

I solved this problem with option downsample(DownsampleStrategy.AT_MOST).

GlideApp.with(context)
        .asBitmap()
        .override(720, 720) 
        .downsample(DownsampleStrategy.AT_MOST)
        .load(uri)
        .submit()
        .get()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant