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
I'm getting images to have a greenish background on all images for SVG images. Check below image for reference #3094
Comments
I further checked basically |
I'd guess that it's RGB_565 bitmaps? If you use PREFER_ARGB_8888 does that fix the tint? |
I'm not creating any bitmap glide is handling that internally. I guess AndroidSvg is doing parsing of SVG files there could be a problem so i'm attaching my SVG file that i'm try to use. I uploaded SVG as txt as SVG wasn't supported here. |
You can check to see if the SVG decoder you're using is using RGB_565 Bitmaps. SVG decoding isn't directly supported by Glide and isn't at all supported by Glide v3. Consider also asking on Stack Overflow. |
yeah thanks |
It works fine |
Assuming that you are using AndroidSVG for the SVG rendering, make sure that you are using AndroidSVG version 1.3 or later. Version 1.2 had a bug with shorthand hex colours. |
Glide Version: 3.8.0
Integration libraries: com.caverock:androidsvg:1.2.1
Device/Android Version: All versions
Issue details / Repro steps / Use case background: it's occurring with all icons
Glide load line /
GlideModule
(if any) / list Adapter code (if any):#3064 this is how i implemented SVG with v3.8.0 glide version
The text was updated successfully, but these errors were encountered: