Skip to content

This PNG when converted to WebP by ImageSharp produces a corrupted WebP file #2068

@rwasef1830

Description

@rwasef1830

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

2.1.0

Other ImageSharp packages and versions

ImageSharp.Web 2.0.0-alpha.0.18

Environment (Operating system, version and so on)

Windows 10

.NET Framework version

.NET 6.0.3

Description

The attached image when converted to WebP at default quality, produces a file that doesn't render in any browser and is deemed as corrupt.

Steps to Reproduce

Use standard ImageSharp.Web middleware to request conversion of the attached image to webp. The corrupt webp is also attached.

Thanks for the awesome library.

Images

nuclear

corrupted webp output (inside zip):
converted.zip

Other pngs convert fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions