Skip to content

Gifs sometimes get optimized incorrectly #2288

@SigmundurMorkore

Description

@SigmundurMorkore

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

ImageSharp version

v2.1.3

Other ImageSharp packages and versions

ImageSharp.Web 2.0.2

Environment (Operating system, version and so on)

Linux and Mac

.NET Framework version

6

Description

When doing any processing on some gifs, the output isn't correct.

Example 1
This is the original gif:
51819_osvart_orkushow
When sending it through ImageSharp.Web with any query parameters, even inconsequential ones, the output gif is extremely slow (with rmode=crop):
imagesharp-51819_osvart_orkushow

Example 2
This is the original gif:
irishpublysing
When sending it through ImageSharp.Web with any query parameters, even inconsequential ones, the output gif has the first "V" in the smaller text almost turned into a "M" (with rmode=crop):
imagesharp-irishpublysing

Steps to Reproduce

  1. Run a gif through ImageSharp.Web
  2. It may or may not have things that are incorrect

Images

51819_osvart_orkushow
imagesharp-51819_osvart_orkushow

irishpublysing
imagesharp-irishpublysing

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions