Bug 456735 - OpenEXR Alpha channel ignored
Summary: OpenEXR Alpha channel ignored
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Project Bin & Import (show other bugs)
Version: 22.04.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2022-07-15 01:18 UTC by kde545
Modified: 2024-11-21 15:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12
Sentry Crash Report:


Attachments
Testcase converted to PNG (375.62 KB, image/png)
2024-11-21 11:24 UTC, Mirco Miranda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde545 2022-07-15 01:18:31 UTC
SUMMARY
Kdenlive ignores the alpha channel of openexr images and image sequences.


STEPS TO REPRODUCE
1. load an openexr image (or image sequence) with alpha channel
2. put it in a track directly over another track with a color clip

OBSERVED RESULT
color clip is hidden completely by the openexr, ignoring the alpha channel (alphaover/composite does nothing)

EXPECTED RESULT
color clip shining through alpha areas like with png
Comment 1 Mirco Miranda 2023-08-20 08:06:48 UTC
If kdenlive uses the EXR kimageformats plugin, it should be fixed with this MR: https://invent.kde.org/frameworks/kimageformats/-/merge_requests/172
Comment 2 Jean-Baptiste Mardelle 2023-08-22 08:31:07 UTC
Thanks Mirco. Yes, Kdenlive/MLT uses the kimageformats plugins to render EXR images, so this will effectively fix this problem. Hope it will be merged in a next Frameworks release.
Comment 3 Mirco Miranda 2023-08-28 18:26:08 UTC
(In reply to Jean-Baptiste Mardelle from comment #2)
> Thanks Mirco. Yes, Kdenlive/MLT uses the kimageformats plugins to render EXR
> images, so this will effectively fix this problem. Hope it will be merged in
> a next Frameworks release.

Merged today on KF5.
Comment 4 emohr 2024-10-02 12:09:13 UTC
Hello Mirco. Is the issue fixed with the latest Kdenlive version?
Comment 5 Mirco Miranda 2024-10-02 16:22:30 UTC
(In reply to emohr from comment #4)
> Hello Mirco. Is the issue fixed with the latest Kdenlive version?

It is fixed in frameworks-kimageformats (KF5) and frameworks-kimageformats (KF6). Jean told to us that Kdenlive uses the  frameworks-kimageformats plugin so it should fixed also in Kdenlive.

I don't do video editing and point 2 of the instructions (to replicate the problem) is quite vague to me.

Try it and let us know :)
Comment 6 emohr 2024-10-02 16:45:11 UTC
Mmh. Kdenlive 24.08.1 can't import EXR files. I tried with the picture from here: https://raw.githubusercontent.com/AcademySoftwareFoundation/openexr-images/main/ScanLines/CandleGlass.exr
Comment 7 Mirco Miranda 2024-11-21 11:24:37 UTC
Created attachment 176004 [details]
Testcase converted to PNG

Image read by EXR plugin and converted to PNG (sRGB). I confirm that now the problem is not with the plugin in KImageFormats.
Comment 8 emohr 2024-11-21 15:27:43 UTC
The alpha channel in "CandleGlass.exr" is correctly shown in Kdenlive master now.

I closed this bug. If it still appears in the latest version, please feel free to re-open it and update the affected version number.