TGA support for KDE

Dominik Seichter domseichter at
Mon Jan 27 06:32:29 GMT 2003


> Do you have a current version of kdelibs/kimgio/ico.kimgio?
> I recently changed the Header regex for .ico/.cur files from \001\001 to
> \001\001[\001|\002]\001 so if you still have the old version, it might
> match on TGA. Grr, doesn't it suck that both TGA and ICO/CUR have no real
> "magic" header? A .cur (Windows cursor, essentially the same as .ico) file
> starts with 0x00 0x00 0x02 0x00, so any TGA with that start will still be
> considered a CUR file if the ico/cur reader is registered first and all
> .cur files will be treated like a TGA if that reader is registered first.
It works after removing the ico.kimgio file. I am using the following header 
to match TGA files now:
Is it possible to find a ICO header that does not interferre with my tga 

CU Dom
Dominik Seichter - domseichter at
Krename -
KBarcode -

More information about the kde-core-devel mailing list