Bug 16414 - tga magic
Summary: tga magic
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 08:18 UTC by Matthias Clasen
Modified: 2008-06-19 02:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.