Bug 510974 - Krita doesn't open non-monochrome AVIF files properly
Summary: Krita doesn't open non-monochrome AVIF files properly
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: File formats (other bugs)
Version First Reported In: unspecified
Platform: CachyOS Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-23 18:21 UTC by DemonicSavage
Modified: 2025-10-23 18:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Backtrace for Krita crash on loading YUV 444 file. (29.88 KB, text/plain)
2025-10-23 18:21 UTC, DemonicSavage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DemonicSavage 2025-10-23 18:21:20 UTC
Created attachment 186051 [details]
Backtrace for Krita crash on loading YUV 444 file.

SUMMARY


STEPS TO REPRODUCE
1.  Get two AVIF images, one monochrome, the other in color.
2. Open both images in Krita 

OBSERVED RESULT

The monochrome image opens just fine. The color image doesn't, with different results depending on color format.

YUV 420/422 just opens a blank (transparent) canvas the size of the image.
YUV 444 will crash Krita. The backtrace is attached.

EXPECTED RESULT

The files should open normally

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.3-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor: AMD Radeon RX 7800 XT


ADDITIONAL INFORMATION
Comment 1 DemonicSavage 2025-10-23 18:24:03 UTC
In both YUV 420/422 and 444 cases, the console outputs:

> ERROR: Failed to parse input: BMFF parsing failed

It does so twice in the case of YUV 444.