TGA support for KDE

Waldo Bastian bastian at
Sun Jan 26 13:38:13 GMT 2003

On Sunday 26 January 2003 12:55, Dominik Seichter wrote:
> The code works in a separate application of mine very well, when registered
> with QImageIO::defineIOHandler( ... ). But it does not work at all when
> installed as a kimgio plugin, because KDE does not call the TGA plugin when
> I try to load an TGA file. Maybe my tga.kimgio is wrong or my changes to
> the makefile were incorrect.

Your .kimgio file should define a Header entry that can be used to identify a 
TGA file. This header entry is a regexp, see qimageio.html#defineIOHandler 
for details. Non-ascii chars should be encoded like this:


(Example from jp2.kimgio file)

bastian at -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at

More information about the kde-core-devel mailing list