Jump to content
Paint.NET 5.1 is now available! ×

Feature request - Offer to load image using embedded ICC profile if present by default


Go to solution Solved by Rick Brewster,

Recommended Posts

Posted (edited)

As a non-competent user I'd like to be able to open images in Paint.NET without colors looking funky by default.

 

Thus I'd like Paint.NET to use the embedded ICC profile by default, either by:

  • Load using ICC profile by default, or
  • Prompt user to load image with the embedded ICC profile Paint.NET automatically detected.

 

---

 

Original title: "PDN messes up colors on XYB JPG created by JPEG XL "jpegli", Windows Photos doesn't"

Original content:

 

After reading about JPEG XL "jpegli" I had to test it.

 

Binaries can be found here:

Test image was taken from here:

Which I decoded to PNG using GIMP (opened in GIMP, chose to export to PNG).

 

I then used following command to generate XYB JPG:

cjpegli.exe .\in.png .\out-xyb.jpg --quality=90 --xyb --chroma_subsampling=444

And following for a non-XYB JPG:

cjpegli.exe .\in.png .\out.jpg --quality=90 --chroma_subsampling=444

 

I then noticed that opening the XYB JPG file in Paint.NET messes up colors, while the Windows Photos app seems to handle it well.

image.thumb.png.c9b06df6659ab352b35dc7d8bdcfa02e.png

I don't know enough to tell what causes this. Color space? ICC? But if the Windows Photos app handles it, so should Paint.NET, ideally. :)

 

Sample files (in.png, out.jpg, out-xyb.jpg) can be downloaded here (around 20MB):

Edited by olavrb
Posted

I found here:

That you can do Image -> Apply Embedded Color Profile, which makes the image look correct.

 

So maybe not a bug/something that needs to be fixed after all.

 

Maybe one could prompt the user to load the image with the color profile if a color profile is detected?

  • olavrb changed the title to Feature request - Offer to load image using embedded ICC profile if present by default
  • Solution
Posted
On 10/21/2023 at 7:23 AM, olavrb said:

Maybe one could prompt the user to load the image with the color profile if a color profile is detected?

The color profile is always loaded and preserved. You can convert the image to sRGB via the profile by using Image->Apply just like you already found.

 

I'm planning color management support for a future release. No need to request anything, it's in the queue.

  • Like 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...