-
-
Notifications
You must be signed in to change notification settings - Fork 888
Closed
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
Description
When loading an image using Image.Load and saving it again, using image.Save(). the resulting image is very different from the original, loaded image without doing any mutations.
Steps to Reproduce
.NET Core 2.1 Console app. Use
using (Image<Rgba32> image = Image.Load("8.jpg")) { image.Save("8-saved.jpg"); }
As the only code in Main and run with 8.jpg in your working directory (see attached).
This is the image being loaded (8.jpg):

This is the resulting image after saving:

System Configuration
- ImageSharp version: SixLabors.ImageSharp v1.0.0-beta0006
- Other ImageSharp packages and versions: None
- Environment (Operating system, version and so on): Windows 10, latest. .NET Core 2.1 console application
- .NET Framework version: .NET Core 2.1
- Additional information:
JimBobSquarePants