Bug 384605

Summary: Only the first EXR layer, from single or multilayer exr file gets transparency
Product: [Applications] krita Reporter: iszotic <iszotic>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: andrew.crouthamel
Priority: NOR Keywords: investigated, triaged
Version First Reported In: 3.2.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description iszotic 2017-09-12 00:48:58 UTC
Hi

Transparency only works if you open the EXR file. Later if you try to add the second EXR file or later ones then the layers will not get transparency, at all. I tried slitting the alpha with no success, and the console only trows this message.

dev "RGB/Alpha (16-bit float/channel)" ("RGBA","F16" ) image "RGB/Alpha (16-bit float/channel)" ("RGBA","F16" ) cfg false

I have tried drag and drop and importing from the layer menu
(And the transparency for the layers opened in the EXR file don't work right out of the box neither, you have to search for the right color profile, in my case sRGB built-in, then it works, but that it's part of this bug https://bugs.kde.org/show_bug.cgi?id=352837 )

I also tried normalizing the alpha channel specifically for krita, setting values of 0.001 for zero alpha pixels, in case the conversion from zero-alpha to some alpha was broken. Also want to mention that the EXR files come from blender 2.79

Workaround

Export the alpha channel in a separate file (or layer in multilayer EXR) and convert the layer into a transparency layer for subsequent layers. The problem is that this conversion is slow.
Comment 1 iszotic 2017-09-12 01:03:29 UTC
(In reply to iszotic from comment #0)

> Workaround
> 
> Export the alpha channel in a separate file (or layer in multilayer EXR) and
> convert the layer into a transparency layer for subsequent layers. The
> problem is that this conversion is slow.

Workaround 2 (faster than converting alpha layers)

Open each layer and then copy and paste into one big project.
Comment 2 Andrew Crouthamel 2018-09-15 15:44:21 UTC
Hi there, I cannot reproduce this with 4.2.0 (git master). Could you test again with the latest version?

Application Version: 4.2.0
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Comment 3 Bug Janitor Service 2018-11-12 15:59:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-27 04:46:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!