Why does SvgDecoder produce a BitmapDrawable instead of a PictureDrawable? #1595
Unanswered
bartek-wesolowski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use Coil to load a large SVG image which you can then pinch to zoom. The zoomed-in image doesn't look good though (it's pixelated). I think it's because under the hood it's a
BitmapDrawable
instead of aPictureDrawable
. I modified the originalSvgDecoder
to return aPictureDrawable
, which looks much better. Is it a bug or wasBitmapDrawable
used intentionally? The original issue related to loading SVG images only mentionsPictureDrawables
.Beta Was this translation helpful? Give feedback.
All reactions