-
-
Notifications
You must be signed in to change notification settings - Fork 887
Closed as not planned
Closed as not planned
Copy link
Labels
Description
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
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
ImageSharp version
3.1.1
Other ImageSharp packages and versions
SixLabors.ImageSharp.Drawing 2.1.7
Environment (Operating system, version and so on)
Windows 10 22H2
.NET Framework version
.NET 8.0.21
Description
The animated foreground only draws its root frame onto the background.
Steps to Reproduce
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.Processing;
Image img = await Image.LoadAsync("input.gif");
Point loc = new(128, 128);
img.Mutate(ctx =>
{
ctx.DrawImage(img, loc, 1);
});
await img.SaveAsGifAsync(
#if DEBUG
"output_debug.gif"
#elif RELEASE
"output_release.gif"
#endif
);Images
| input | output (DEBUG) | output (RELEASE) |
|---|---|---|
![]() |
![]() |
![]() |


