https://bugs.kde.org/show_bug.cgi?id=461975
--- Comment #2 from amyspark <a...@amyspark.me> --- Ok, I've tested this and have a few observations. > OBSERVED RESULT > The source KRA files use paint and vector layers. > - Sometimes vector layers aren't exported. [BUG] I was able to consistently reproduce the latter error with your files, but only when not flattening the files. Something's failing inside LibTiff and not in our code. I'll try and debug it on my end. > However, even if you convert all layers to paint layers, they'll still be > broken because of other problems: > - No files export alpha channel correctly (result often has opaque > background, sometimes image is totally empty). This is correct and consistent with `Store Alpha Channel (transparency)` being unset by default on your end. The latter is actually consequence of the error above (as we never checked the return value of LibTiff when writing each layer). > - Most files in Gray/Alpha color space export Gray channel incorrectly (often > file is green). [BUG] Can confirm this with the Tev viewer. All GrayA images store as green, will check the code in light of https://lists.aswf.io/g/openexr-dev/topic/82133584?p=Created,,,20,2,0,0::,,,0,0,0,82133584 . > - Some files appear broken in other viewers (in addition to the problems > above when opening in Krita), e.g. some TIFF previews are all messed up in > Dolphin. I don't have Dolphin, but all files (when flattened) show correctly in macOS Preview and the Windows 10 Photo Viewer (except for the CMYK 32f whose depth seems to be unsupported). It'd be great if you could send the affected files here plus previews of each, to understand what the graphical glitches are. > - Files in "encodedBadly" folder have incorrect colors because the result > expects linear colors but they didn't convert from sRGB, so they're lighter > than the original. This can be seen by inspecting the "0.5" gray in the > middle. Triangle was sRGB gray (should be close to #808080) and circle was > linear gray (should be 0.5f in linear space, equivalent to #bcbcbc); tertiary > colors also use the same logic. [BUG] Can confirm with the Tev viewer. Will dig deeper into this. -- You are receiving this mail because: You are watching all bug changes.