Closed Waterpicker closed 2 months ago
It looks like this file has out-of-range "colors" (I say "colors" because it is grayscale), which is causing issues with the built-in linear grayscale profile's LUT. If you call JXLImage.fillColor()
before calling asBufferedImage()
and then you draw it on another sRGB BufferedImage (which is the default), it should clamp these values. That being said, I probably should add a clamp()
method to JXLImage for convenience, or have it automatically clamp before calling asBufferedImage()
.
Closing as JXLImage no longer uses BufferedImage.
So I'm a friend of the user Hydos. First off he is apologizing being harsh. I'm just posting his issue with the requested stacktrace. He really does need this issue fixed regardless of your prior interactions. His issue report starts after the line break.
First of all, here is the repo before I leave any information out. The usage of JXLatte is in MaterialUploader.java You can use GitHub's "Go to File" Feature to find this. Here is the complete stack trace from my program
https://cdn.discordapp.com/attachments/1080332031914950716/1097396030779166820/body_a_mtl.jxl Here is an image file as well which was being opened at the time to cause the issue.
If you need any more info I request you ask for it.