#74 Use correct mime for file types

None
closed
Hervé Drolon
None
5
2013-01-09
2012-01-26
Anonymous
No

Current mime-s, defined for some (many) file formats (FreeImage_GetFIFMimeType) are rather arbitrary. This is unfortunate for linux users, where the file type system is mainly mime based.

Listed here are the correct (as much as possible) mime-s for these formats.

KOALA image/x-koala
IFF image/x-iff
TARGA image/x-tga
PSD image/vnd.adobe.photoshop
CUT image/x-cut
XPM image/x-xpixmap
DDS image/x-dds
HDR image/vnd.radiance
SGI image/x-sgi
EXR image/x-exr
PFM image/x-portable-floatmap
RAW image/x-dcraw
ICO image/vnd.microsoft.icon

Sources:
http://cgit.freedesktop.org/xdg/shared-mime-info/plain/freedesktop.org.xml.in
http://www.iana.org/assignments/media-types/image/index.html

Discussion

  • Hervé Drolon
    Hervé Drolon
    2012-01-29

    Hi Mihail,

    Thanks for the patch, it is now merged with the CVS.

    Hervé

     


Anonymous


Cancel   Add attachments