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 } };
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.