Skip to content

I think GifDrawable should be designed to open pictures that are not GIF format. #534

@ihewro

Description

@ihewro

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:

    <pl.droidsonroids.gif.GifImageView
        android:id="@+id/expression_image"
        android:layout_width="150dp"
        android:layout_height="150dp"
        android:src="@drawable/bg"/>

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions