简体   繁体   中英

How do I make sure that Glide won't downsample my image?

It's not .dontTransform() . Anyone know what method to call to remove the downsampling?

Use this:

Glide
    .with(context)
    .dontTransform()
    .load(your_url_here)
    .override(Target.SIZE_ORIGINAL, Target.SIZE_ORIGINAL)
    .into(your_image_view);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM