You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so why GifDrawable is designed to show the picture whic is only gif format?
Sometimes , I hava this need: I open an inputStream from a picture uri, but the uri may be from gif , png or other format,I want to show image through the gifDrawable,but it occurs error(103,Data is not in GIF format)
it is not friendly, I think it should automatically to show all format images rather than throws an error
The text was updated successfully, but these errors were encountered:
Sorry, for the delay.
Currently, GifImageView tries to load resource set using android:src as GifDrawable and falls back to default ImageView behavior if src is not a GIF.
On the other hand, GifDrawable works at the lower level of abstraction and supports only GIFs. There is no code to handle other image formats at this level.
I think that I can optionally add fabric methods like createFromPath which return type is Drawable.
Firstly, thank you for you project. It help me a lot ! but I have this issues.
When I use this project in the way of XML:
it can show picture which is not gif format
so why GifDrawable is designed to show the picture whic is only gif format?
Sometimes , I hava this need: I open an inputStream from a picture uri, but the uri may be from gif , png or other format,I want to show image through the gifDrawable,but it occurs error(103,Data is not in GIF format)
it is not friendly, I think it should automatically to show all format images rather than throws an error
The text was updated successfully, but these errors were encountered: