olavrb Posted October 21, 2023 Posted October 21, 2023 (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: https://artifacts.lucaversari.it/libjxl/libjxl/latest/ Test image was taken from here: Web page containing multiple images: https://people.csail.mit.edu/ericchan/hdr/hdr-jxl.php Image in question: https://people.csail.mit.edu/ericchan/hdr/jxl_images/20140606_102418_IMGP0297.jxl 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. 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): https://mega.nz/file/asAhyRqS#4iIzU4OoKc3SFzRB4h5018NOYfS5LKYfT9rPdbSxfIM Edited October 21, 2023 by olavrb Quote
olavrb Posted October 21, 2023 Author Posted October 21, 2023 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? Quote
Solution Rick Brewster Posted October 22, 2023 Solution Posted October 22, 2023 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. 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Rick Brewster Posted April 25 Posted April 25 On 10/22/2023 at 9:17 AM, Rick Brewster said: I'm planning color management support for a future release. btw this future release is 5.1, and I'm hoping to push out a public alpha in the next few weeks, so be sure to try it out! Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.