Glide Version:
3.7.0
Device/Android Version:
all the devices
Issue details / Repro steps / Use case background:
Why does a image loaded by glide has bad quality compared with setImage() by imageView?
I has tried various file types(e.g. jpg, png, webp) and the effects look so bad always. Once i used setImagexxx() for the imageView, the effect is lossless.
Does i have any ways to load lossless image by glide?
Thanks!
There are ways.
Can you please show with a screenshot what you mean by "bad"?
image loaded by glide:

image loaded by setImageURI():

Ah, the gradients :)
Read this: https://github.com/bumptech/glide/wiki/Configuration#bitmap-format
Along global config you can also set format per request via load().asBitmap().format()
solved!
thx!
O(≧∇≦)O
@TWiStErRob
I have created a custom GlideModule
I have also added it in AndroidManifest.xml ... do I have to do something else for it to be used for Glide?
Thanks in advance