TGA support for KDE

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


Hi,


> 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:
Header=^\x01\x01[\x02|\x0a]\x01\x01\x01\x01\x01\x01\x01\x01\x01
Is it possible to find a ICO header that does not interferre with my tga 
header? 

CU Dom
-- 
************************************************************
Dominik Seichter - domseichter at web.de
Krename - http://www.krename.net
KBarcode - http://www.kbarcode.net
************************************************************





More information about the kde-core-devel mailing list