Created attachment 117832 [details] CS:GO tga screenshot generated by Steam SUMMARY I'm trying to open this TGA image -- it's an uncompressed screenshot of the game Counter-Strike: GO, and it was generated by Steam --, but Gwenview is unable to. STEPS TO REPRODUCE 1. Try to open the image i've attached with gwenview using the command line 2. Image won't load OBSERVED RESULT Terminal shows me this: QImageReader::read() using format hint "tga" failed: "Unknown error" A bad Qt image decoder moved the buffer to 18 in a call to canRead()! Rewinding. Image format is actually "ico" not "tga" QImageReader::read() using format hint "tga" failed: "Unknown error" A bad Qt image decoder moved the buffer to 18 in a call to canRead()! Rewinding. Image format is actually "ico" not "tga" Renaming its extension to .ico, gives me this: QImageReader::read() using format hint "ico" failed: "Unknown error" A bad Qt image decoder moved the buffer to 22 in a call to canRead()! Rewinding. Image format is actually "ico" not "ico" QImageReader::read() using format hint "tga" failed: "Unknown error" A bad Qt image decoder moved the buffer to 18 in a call to canRead()! Rewinding. Image format is actually "ico" not "tga" EXPECTED RESULT Image loads without errors SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux 4.20.6 KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.54.0 Qt Version: 5.12.0 ADDITIONAL INFORMATION I have tried some different targa images from the internet [1], but upon opening them I got the same errors [1] http://netghost.narod.ru/gff/sample/images/tga/index.htm
Weird, works for me with Gwenview 18.12.1 and Qt 5.12 on Manjaro, basically the same setup. I get no console warnings or errors whatsoever. Seems like there's something wonky with your system. I would recommend asking in an Arch-specific focum of your choosing.
You're right. I needed this package called kimageformats. Now they open just fine. It's just that kimageformats is an optional package and I didn't even thought about installing optional packages. Sorry for the noise!
Thanks for confirming! :)