novomesk / qt-jpegxl-image-plugin

Qt plug-in to allow Qt and KDE based applications to read/write JXL images.
GNU General Public License v3.0
93 stars 8 forks source link

[Probably bug] Issue with encoding/decoding files with resolution that are not multiple of 8 #2

Closed master-of-zen closed 3 years ago

master-of-zen commented 3 years ago

files.zip Issue with encoding/decoding files with resolution that are not multiple of 8. Check this thread on twitter with Jon Sneyers https://twitter.com/jonsneyers/status/1343936322214498307 Original image and encoded jxl

novomesk commented 3 years ago

Thanks for testing and reporting. Well, this problem manifested when I requested 8bit format with 3 channels (without alpha channel). When I requested 4 channels, situation got improved. I don’t know where the origin of the problem is.

Anyway, now the plug-in works in 16bit depth. Please test again and if it works for you, you may close this issue.

master-of-zen commented 3 years ago

2020_12_31_03_27_58 Opening image is fine, but thumbnails still bad

novomesk commented 3 years ago

Does it happen after restart on newly created files too?

master-of-zen commented 3 years ago

@novomesk After restart everything is fine :)