Guillaume Gimenez <ggime...@free.fr> (10/04/2009): > I come back from gthumb sources where I found that > gp_camera_file_get_info() returns "application/x-unknown" for NEF > files. > > BTW, NEF files are always discarded. > > see dlg-photo-importer.c and libgphoto2/gphoto2-camera.c
Well. Maybe it's just too late, but… In gthumb's [src/dlg-photo-importer.c] get_file_list(), it looks to me like the call to gp_camera_file_get_info() succeed, you wouldn't be talking about “application/x-unknown” otherwise. Then valid_mime_type() is called. Looking at this one, it first tries to check the claimed mime type, then only falls back to picking the extension and trying to map it to a known one. It looks to me like gthumb ought to consider a NEF extension as valid, no? Now, it would be nice to learn a bit about your camera, to see what gphoto2 tells us, once debug is enabled (--debug/--debug-logfile, see manpage). Also, there's a 2.4.5-1 around in unstable, in case you want to check the latest bugfix release. Mraw, KiBi.
signature.asc
Description: Digital signature