Summary: | gwenview fails to open targa files | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Mathias Homann <Mathias.Homann> |
Component: | kimgio | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | grave | CC: | cfeck |
Priority: | NOR | Keywords: | reproducible |
Version: | 4.9 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
targa file without alpha channel
targa file with alpha channel strace output from trying to open a TGA in kolourpaint |
Description
Mathias Homann
2012-08-14 13:29:26 UTC
as of now (KDE 4.9.0) neither digikam nor gwenview nor limoo can handle TGA images. That is a grave lack of functionality for me since I work with TGA a lot in game content development. What I see here, is that Qt 4.8.2 provides it's own plugin for TGA loading, that does not work. Can you please check if removing file "/usr/lib/qt4/plugins/imageformats/libqtga.so" helps? nope, removing the qt tga plugin did not help. Could you provide a link to a TGA file which does not open with KDE's plugin? I attached two targa files that I just created in gimp. One is 512x512 with alpha channel, the other is 512x512 without alpha channel. both do not open in gwenview. Created attachment 73588 [details]
targa file without alpha channel
Created attachment 73589 [details]
targa file with alpha channel
Both of them open fine in Kolourpaint and using a simple QImage test program, so the KDE image plugin works correctly. If unsure, use "strace" to check which plugin gets loaded. hmm on my system, kolourpaint refuses to open those files, "unsupported format". Created attachment 73590 [details]
strace output from trying to open a TGA in kolourpaint
Here's a strace of me trying to open a tga in kolourpaint.
> open("/usr/lib64/qt4/plugins/imageformats/libqtga.so", O_RDONLY) = 9
Remove that file. Then try again.
that did it. thanks! I'll file a bug against openSUSE qt now and close this here as wontfix :) |