Skip to content

PNG Image Load Corruption [BUG]  #2043

@toptensoftware

Description

@toptensoftware

Description

Some (not all) PNG images loaded in SkiaSharp 2.88.0-preview.224 and later are corrupted.

Code

See simple demo project here

Relevant code here.

Expected Behavior

Image shouldn't be corrupted

Actual Behavior

Image is corrupted

Basic Information

  • Version with issue: 2.88.0-preview.224 and later
  • Last known good version: 2.88.0-preview.223
  • IDE: dotnet command line
  • Platform Target Frameworks:
    • Windows Classic: Windows 10
Detailed IDE/OS information (click to expand)

dotnet --version
6.0.300

Screenshots

Ignore the blue squiggles, that was us testing trying to narrow this down.

Original:

Original

Corrupted:

Corrupted

Reproduction Link

See here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions