SUMMARY TGA (TARGA) files with RLE compression cannot be viewed. STEPS TO REPRODUCE 1. Open any file in GIMP. 2. Chose "Export as…" in the "File" menu. 3. Input a name with the ".tga" extension and confirm. 4. In the next window, keep the "RLE compression" box checked (it probably is by default) and confirm. 5. Open the new TGA file in Gwenview. OBSERVED RESULT > Loading ‘file.tga’ failed > Loading image failed. EXPECTED RESULT The image (usually a texture for a game) should be shown. SOFTWARE/OS VERSIONS Gwenview version: 24.02.2 KDE Plasma Version: 6.0.4 ADDITIONAL INFORMATION The same applies to the thumbnail mechanism of Dolphin and the KDE file picker. No thumbnail is generated for a TGA file if it's compressed with the RLE compression.
I confirm the error. Gwenview does not open a .tga file if the information in it is in one channel, but it opens other .tga files on three channels of RGB or RGBA. Approximate time of error occurrence: update to the sixth version of Plasma. The error was tested on three OS: pure Arch Linux, Endeavor, Manjaro. Current OS: Operating System: ArcoLinux KDE Plasma Version: 6.1.0 KDE Frameworks Version: 6.3.0 Qt Version: 6.7.2 Kernel Version: 6.6.35-2-lts (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics Memory: 27.3 ГиБ of RAM Graphics Processor: AMD Radeon Graphics