Search code examples
androidandroid-glide

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?


Solution

  • Use this:

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