Skip to content

single frame gifs get marked as animated though converted to static by Discord #71

@ioistired

Description

@ioistired

This is a one-frame gif:
pensive_pansexual_pride_flag

Discord detects this, converts to a png, and uses one static slot in the guild. However, mime_type_for_image returns image/gif, so animated is set to True in the database. Since we need the image type in order to pick a guild to upload to, probably the best solution is to detect single-frame gifs client side before uploading. Or we could just convert them to fake two frame gifs as Emote Manager now does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions