Summary: | AVIF Images with Alpha Channel Don't Export With Expected Translucency When Using PQ | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | robbtbeal |
Component: | File formats | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amy |
Priority: | NOR | ||
Version: | 5.1.1 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/3b6b341425803cc69f4446852207d0154cfd708c | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Exported AVIF showing the issue. Ignore the file name change. It was for browser dev tools convenience.
.kra generated from .avif recreated avif that corresponds to kra |
Description
robbtbeal
2022-10-13 16:47:28 UTC
Will try to get back to this later this week or the next: https://invent.kde.org/graphics/krita/-/merge_requests/1585 (it's related to JXL as well) (In reply to amyspark from comment #1) > Will try to get back to this later this week or the next: > https://invent.kde.org/graphics/krita/-/merge_requests/1585 (it's related to > JXL as well) Thanks for the quick advice. Is there any risk in doing the HDR painting (which are really luminance changes to the existing SDR assets) in 5.1.1 and saving as Krita and then use a future, corrected version of Krita to do the AVIF export? Or, best to wait before continuing to HDR paint additional assets? Using KRA is OK, the changes that need to be done only affect the export plugins. So far I could not reproduce the bug, could you please send me the following? - The altered demo file, stored as KRA and with the profile and depth you were using - Screenshots (if possible) of the broken transparency (marking as NEEDSINFO due to the above) Created attachment 153226 [details]
.kra generated from .avif
See .kra attached. Note" to gen a .kra, I needed to do a throw-away export as webp because it's the only way I could see the Also Save as KRA UI. I open the transparent png, do my HDR painting, and do an export as avif.
Created attachment 153227 [details]
recreated avif that corresponds to kra
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Git commit e6e7b4670057515c3a2abf6df7f6060650285826 by L. E. Segovia. Committed on 01/11/2022 at 18:19. Pushed by lsegovia into branch 'master'. JPEG-XL: fix import/export of HDR alpha channels M +8 -3 plugins/impex/jxl/JPEGXLExport.cpp M +9 -2 plugins/impex/jxl/JPEGXLImport.cpp https://invent.kde.org/graphics/krita/commit/e6e7b4670057515c3a2abf6df7f6060650285826 Git commit a5d1d31d7ecd6e5189523ab8ca42a771b2271c6a by L. E. Segovia. Committed on 01/11/2022 at 18:19. Pushed by lsegovia into branch 'master'. HEIF: fix import/export of HDR alpha channels M +17 -6 plugins/impex/heif/kis_heif_export_tools.h M +53 -17 plugins/impex/heif/kis_heif_import_tools.cpp https://invent.kde.org/graphics/krita/commit/a5d1d31d7ecd6e5189523ab8ca42a771b2271c6a Git commit 9177afd72e0edd75b6fdd3453c257b9797acacdd by L. E. Segovia. Committed on 01/11/2022 at 20:05. Pushed by lsegovia into branch 'krita/5.1'. JPEG-XL: fix import/export of HDR alpha channels (cherry picked from commit e6e7b4670057515c3a2abf6df7f6060650285826) M +8 -3 plugins/impex/jxl/JPEGXLExport.cpp M +9 -2 plugins/impex/jxl/JPEGXLImport.cpp https://invent.kde.org/graphics/krita/commit/9177afd72e0edd75b6fdd3453c257b9797acacdd Git commit 3b6b341425803cc69f4446852207d0154cfd708c by L. E. Segovia. Committed on 01/11/2022 at 20:05. Pushed by lsegovia into branch 'krita/5.1'. HEIF: fix import/export of HDR alpha channels (cherry picked from commit a5d1d31d7ecd6e5189523ab8ca42a771b2271c6a) M +10 -9 plugins/impex/heif/HeifExport.cpp M +38 -28 plugins/impex/heif/HeifImport.cpp https://invent.kde.org/graphics/krita/commit/3b6b341425803cc69f4446852207d0154cfd708c |