Bug 421838

Summary: 4 bit precision TIFF does not display correctly
Product: [Applications] krita Reporter: Aaron Boxer <boxerab>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: amy, tamtamy.tymona
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 4 bit tiff
Gimp on the left, Krita on the right

Description Aaron Boxer 2020-05-20 21:11:26 UTC
Created attachment 128648 [details]
4 bit tiff

Open the attached image and you will see the issue.
Comment 1 Tiar 2020-05-20 21:47:35 UTC
Created attachment 128652 [details]
Gimp on the left, Krita on the right

Could you describe the issue anyway? I don't know what I'm looking at - is this image supposed to be colorful? Smoother? Also what is the exact color space of this image?

Also could you make a screenshot or for example save the file as PNG so we could see the difference?

I even opened this file in Gimp and it looks the same for me. (Except for some very little differences in lightness, which I guess might be because of a color management that I only set in one of those programs, and possibly incorrectly, too).
Comment 2 amyspark 2020-05-20 21:52:04 UTC
Both appimages (4.2 and nightly), as well as the 4.3 beta can open this image successfully.

What OS and libtiff version are you using?
Comment 3 Aaron Boxer 2020-05-21 01:28:33 UTC
Hi, sorry about scarcity of details in the initial report.
 
I am on Ubuntu 20.04 w/ LIBTIFF, Version 4.1.0

When I opened the file in Krita, I saw vertical black lines on the right hand part of the image. However, opening the file just now, it is fine. So,
not sure what happened there. Closing, and sorry for the noise.
Comment 4 Tiar 2020-05-21 12:02:01 UTC
Setting to worksforme then. No idea what could've happened there :)