The 'file' command can detect a range of 'standard' file formats regardless of the filename suffix, e.g.:
[EMAIL PROTECTED]:Pictures$ file test.png test.png: PNG image data, 1120 x 892, 8-bit/color RGB, non-interlaced [EMAIL PROTECTED]:Pictures$ cp test.png test.gif [EMAIL PROTECTED]:Pictures$ file test.gif test.gif: PNG image data, 1120 x 892, 8-bit/color RGB, non-interlaced Dolphin does it too -- if I right-click test.gif and choose "Properties" it says "Type: GIF Image, Contents: PNG Image" The man page for the file command describes how it is done. Closing this bug report. ** Changed in: inkscape (Ubuntu) Status: New => Invalid -- export dialog always appends .png https://bugs.launchpad.net/bugs/252097 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs