Bug 511535

Summary: [Request] Support more DDS compression types
Product: [Frameworks and Libraries] frameworks-kimageformats Reporter: matthewm.hinson
Component: generalAssignee: Alex Merry <alex.merry>
Status: REPORTED ---    
Severity: wishlist CC: aacid, kdelibs-bugs-null, mircomir
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: File with BC4 compression
File with BC5 compression
File with BC7 compression

Description matthewm.hinson 2025-11-02 18:21:29 UTC
When it comes to DDS textures, KImageFormats already supports a good number of RGB/YUV storage types as well as the basic Block Compressions (DXT*). It would be nice if the more recent DirectX 10+ types were supported as well, even if only for previewing BC4+ files in Dolphin/Okular. After all, with Linux getting ever more attractive for Windows gamers, Windows game modders might just follow.
Comment 1 Mirco Miranda 2025-11-08 12:39:23 UTC
Please attach to this task examples of the files you would like the plugin to open.
Comment 2 Albert Astals Cid 2025-11-09 01:46:36 UTC
Changing status accordingly
Comment 3 matthewm.hinson 2025-11-09 08:34:14 UTC
Created attachment 186634 [details]
File with BC4 compression
Comment 4 matthewm.hinson 2025-11-09 08:34:30 UTC
Created attachment 186635 [details]
File with BC5 compression
Comment 5 matthewm.hinson 2025-11-09 08:34:42 UTC
Created attachment 186636 [details]
File with BC7 compression
Comment 6 Mirco Miranda 2025-11-09 08:37:10 UTC
Thanks.
Comment 7 matthewm.hinson 2025-11-09 08:40:28 UTC
That was quick :)
FWIW, Blender *can* handle these compression types, so who knows, maybe you can borrow some code from its image library.