You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Description
I have this specific PNG image of which the bottom half gets cut off when I try to load it with ImageSharp. It only happens on .NET 6 (preview 6), .NET 5 is fine. No other editor/viewer I tried it with (paint, paint.net, krita, windows photo viewer (old and windows 10 one), chrome, firefox) fails to load this image.
here is the image:
(5C8E5A1B4B577E68A21E1384B5A11C5B1A38B59AC5210C583C6D577CCAF96E23 SHA256 hash but github shouldn't change it on upload).
If I load and save this with ImageSharp, I get the following result:
Re-saving the image by, for example, running it through optipng magically fixes the problem.
Steps to Reproduce
Download the image, then run it through some C# code like this:
Prerequisites
DEBUG
andRELEASE
modeDescription
I have this specific PNG image of which the bottom half gets cut off when I try to load it with ImageSharp. It only happens on .NET 6 (preview 6), .NET 5 is fine. No other editor/viewer I tried it with (paint, paint.net, krita, windows photo viewer (old and windows 10 one), chrome, firefox) fails to load this image.
here is the image:
5C8E5A1B4B577E68A21E1384B5A11C5B1A38B59AC5210C583C6D577CCAF96E23
SHA256 hash but github shouldn't change it on upload).If I load and save this with ImageSharp, I get the following result:

Re-saving the image by, for example, running it through
optipng
magically fixes the problem.Steps to Reproduce
Download the image, then run it through some C# code like this:
System Configuration
The text was updated successfully, but these errors were encountered: