Bug 16414

Summary: tga magic
Product: shared-mime-info Reporter: Matthias Clasen <mclasen>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Matthias Clasen 2008-06-18 08:18:16 UTC
gdk-pixbuf has magic for tga files:

        static GdkPixbufModulePattern signature[] = {
                { " \x1\x1", "x  ", 100 },
                { " \x1\x9", "x  ", 100 },
                { "  \x2", "xz ",  99 }, /* only 99 since .CUR also matches this */
                { "  \x3", "xz ", 100 },
                { "  \xa", "xz ", 100 },
                { "  \xb", "xz ", 100 },
                { NULL, NULL, 0 }
        };
Comment 1 Bastien Nocera 2008-06-19 02:34:23 UTC
That's pretty poor magic. I've added it as low-priority.

* freedesktop.org.xml.in: Add low-priority magic for TGA files,
from gdk-pixbuf, spotted by Matthias Clasen <mclasen@redhat.com>
(Closes: #16414)
* tests/list: Also check TGA files by magic

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.