Sree
Sree

Reputation: 2787

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?

Upvotes: 1

Views: 882

Answers (1)

Francesc
Francesc

Reputation: 29260

Use this:

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

Upvotes: 3

Related Questions