TIF to JPG Color Problem
FabCodeDE opened this issue · comments
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
ImageSharp version
3.02
Other ImageSharp packages and versions
Web 3.01 & Web.Providers.Azure 3.01
Environment (Operating system, version and so on)
Windows Server 2022 & Windows 11
.NET Framework version
.NET Core 7
Description
When converting a specific tif image from tif to jpg via web the colors are completly wrong and look distorted:
https://picture-media-pool.ap.basf.com/media/dnaahyll/gakago_erygr_2_05-blumeria-graminis-cmyk.tif?format=jpg&width=1920
If you download the image as tif and then view it with the windows image viewer it looks normal. I can also provide multiple examples of that.
Steps to Reproduce
When converting a specific tif image from tif to jpg via web the colors are completly wrong and look distorted:
https://picture-media-pool.ap.basf.com/media/dnaahyll/gakago_erygr_2_05-blumeria-graminis-cmyk.tif?format=jpg&width=1920
If you download the image as tif and then view it with the windows image viewer it looks normal. I can also provide multiple examples of that.
Images
Can upload the tif here sadly, need to be downloaded via the url
The web portion here should be irrelevant. If you add the tiff to a zip file you can upload it.
gakago_erygr_2_05-blumeria-graminis-cmyk.zip
here you go
gakago_erygr_2_05-blumeria-graminis-cmyk.zip here you go
The image looks correct to me with the current main branch when converting to jpg.
edit: the issue is present in 3.0.2
, but is fixed in current main branch.
I think it was fixed with PR #2459
Closing as fixed in #2459