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
ImageSharp version
3.1.6
Other ImageSharp packages and versions
SixLabors.ImageSharp.Drawing 2.1.5
Environment (Operating system, version and so on)
macOS Sequoia 15.2
.NET Framework version
.net 9.0
Description
There are some specific compressed Gif files that are saved after being loaded that lose their differential rendering properties, resulting in black blocks in the image. But the original image renders fine without ImageSharp. However the image works fine in ImageSharp after it has been re-encoded by other software.
The result of the error looks like this:
As well, how do I get the full frame image of the compressed Gif correctly in the code instead of the difference?
The encoder only encodes the difference because otherwise you end up with massive gifs. There’s no way to turn that off.
I'm referring to gifs that only keep a record of the changed pixels.
After I ran a lot of tests, I figured out why I was asking the question. Using CloneFrame itself gives me the results I want, and the reason I'm asking is because I usually save as a png or gif, so it's getting the wrong results, and leading me to think that what this method gets would be the difference pixel map (instead of the full frame image)
This gif if I export it using CloneFrame and save it as a png, it will all show up as a pure empty image.
Prerequisites
DEBUG
andRELEASE
modeImageSharp version
3.1.6
Other ImageSharp packages and versions
SixLabors.ImageSharp.Drawing 2.1.5
Environment (Operating system, version and so on)
macOS Sequoia 15.2
.NET Framework version
.net 9.0
Description
There are some specific compressed Gif files that are saved after being loaded that lose their differential rendering properties, resulting in black blocks in the image. But the original image renders fine without ImageSharp. However the image works fine in ImageSharp after it has been re-encoded by other software.
The result of the error looks like this:
As well, how do I get the full frame image of the compressed Gif correctly in the code instead of the difference?
Steps to Reproduce
just load and save it.
Images
The text was updated successfully, but these errors were encountered: