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
Anonymous
Hi Mihail,
Thanks for the patch, it is now merged with the CVS.
Hervé