Summary: | mime types for digicam raw image files | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Stephane Chauveau <spam70> |
Component: | freedesktop.org.xml | Assignee: | Jonathan Blandford <jrb> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | enhancement | ||
Priority: | high | CC: | bugzilla, jdassen, sbrabec, udifuchs |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | shared-mime-info-raw.patch |
Description
Stephane Chauveau
2005-08-16 15:34:08 UTC
Please add this to the list above: <mime-type type="image/x-kodak-kdc"> <comment>Kodak RAW image</comment> <glob pattern="*.kdc"/> </mime-type> This is the new type of RAW image that Kodak uses (the .dcr files are their old format). Please add the above to shared-mime-info db because without it there are two nasty effects: 1. Nautilus *crashes* ( http://bugzilla.gnome.org/show_bug.cgi?id=349043 ) 2. All applications that support TIFF think that can handle this type of file, while in reality only DCRAW, UFRaw (and maybe CinePaint) can. Until support for this newer data format of KDC files is added to gtkpixbuf-tiff or to libtiff, shared-mime-info must glob it (you see, as in most RAW files the container format is TIFF, but the data format is different and so these files must have exceptions). You can test the suggested change by downloading my KDC picture here: http://www.gnomefiles.org/shots/kdc.tar.bz2 (UFraw is the only GTK app that can read it AFAIK, in case you really wanna check out that beautiful eagle in the picture :)) *** Bug 3143 has been marked as a duplicate of this bug. *** 2006-08-25 Bastien Nocera <hadess@hadess.net> * freedesktop.org.xml.in: patch from Stephane Chauveau <spam70@chauveau-central.net> and Eugenia Loli-Queru <eloli@hotmail.com> to add many raw image types from digital cameras (Closes: #4117) Reopening. As wrote above, container format of some formats is TIFF. Definition of image/tiff in shared-mime-info-0.19 takes precedence of them and images are still recognized as image/tiff. Created attachment 6974 [details] [review] shared-mime-info-raw.patch Patch for shared-mime-info-0.19. It may be incomplete, because I have only a few test images: image/x-canon-crw is a special TIFF image/x-nikon-nef is a special TIFF image/x-minolta-mrw is a block of binary data I have no info for other formats. After applying of this patch, it works in nautilus. It properly detects RAW format, but it still offers TIFF applications, too. Are you aware of bug 8170 that I opened on the same subject? Among others, it contains a complete list of raw formats which are image/tiff type. The patch from Stanislav is not accurate since only CR2 files are image/tiff. CRW files are not image/tiff. I hope that you could fix the current mime types soon, because at the moment I think that they are causing more damage than good. |
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.