Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color issue for a file after processing with Magick.NET #1570

Open
Sabari2810 opened this issue Feb 29, 2024 · 8 comments
Open

Color issue for a file after processing with Magick.NET #1570

Sabari2810 opened this issue Feb 29, 2024 · 8 comments

Comments

@Sabari2810
Copy link

Magick.NET version

Magick.Net Q-16 Any CPU 13.0.1

Environment (Operating system, version and so on)

Windows server 2016, 64 bit

Description

After generating a thumbnail for a file with Magick.NET, there is a huge difference in color when compared with the actual file
image

Please find the attached file in the drive for your reference https://drive.google.com/file/d/1lkLcKJA__10d1IYwxhaQaivoPKP1J4Dp/view?usp=drive_link

Steps to Reproduce

var settings = new MagickReadSettings()
{
AntiAlias = true,
Defines = new DngReadDefines
{
ReadThumbnail = true,
UseCameraWhitebalance = true,
}
};

using (var image = new MagickImage(sourceFile, settings))
{
image.Thumbnail(1400, 1400);
image.Write(previewPath);
//await image.WriteAsync(previewPath);
}

@dlemstra
Copy link
Owner

Adding file here also: ORIGINAL.zip

@dlemstra
Copy link
Owner

It looks like the application that you are using to view the original image is displaying it incorrectly? When I view the image in Chrome I get the colors that you are seeing in the thumbnail. Maybe there is something specific in your image that this viewer finds and uses?

@Sabari2810
Copy link
Author

Thanks for the response, Did you generate a thumbnail for the file provided?

@Sabari2810
Copy link
Author

The image I shared is the original image, please generate a thumbnail to recreate the issue

@dlemstra
Copy link
Owner

dlemstra commented Mar 1, 2024

If you open both images in the browser there is no color difference so it looks like your image viewer is doing something special with your input image. It will be up to you to figure out why this is happening with your viewer.

@Sabari2810
Copy link
Author

Thanks for the response, They do look the same when opened in the browser, but when opened in Photoshop they look different. Is there any reason why the bright original image looks dull in the browser?

@dlemstra
Copy link
Owner

dlemstra commented Mar 1, 2024

As I said before you will need to figure out why this is happening with your image editor.

@Sabari2810
Copy link
Author

Sure, Thanks for the response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants