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
DEBUG
andRELEASE
mode - I have searched open and closed issues to ensure it has not already been reported
Description
I'm not sure that it's a bug, maybe I've just missed something, Before beta006 (more specifically, on version 1.0.0-dev001621
) we made transparent background like this: https://github.com/SixLabors/Samples/blob/625dd0ace7c30ed9cb3dc7a48304471e0bd91b76/ImageSharp/AvatarWithRoundedCorner/Program.cs#L87
After #882 we moved to 1.0.0-dev002548
and changed logic to: https://github.com/SixLabors/Samples/blob/master/ImageSharp/AvatarWithRoundedCorner/Program.cs#L85 (but this could be reproduced on latest 1.0.0-dev002737
as well)
But some pictures have black background after upgrading, not transparent.
Steps to Reproduce
Sample project https://github.com/SixLabors/Samples/tree/master/ImageSharp/AvatarWithRoundedCorner could be used with the following image: image.zip
Here's the output of different versions of ImageSharp: outputs.zip
System Configuration
- ImageSharp version:
1.0.0-dev002737
- Other ImageSharp packages and versions:
SixLabors.ImageSharp.Drawing 1.0.0-dev002737
- Environment (Operating system, version and so on): Windows 10 Enterprise version 1809 build 17763.475
- .NET Framework version: dotnet SDK 2.1.603
- Additional information: