[Pkg-phototools-devel] Bug#523512: gthumb no longer imports RAW files when shooting both jpg and NEF

Cyril Brulebois kibi at debian.org
Sat Apr 11 00:12:42 UTC 2009


Guillaume Gimenez <ggimenez at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20090411/6ab02bf9/attachment.pgp>


More information about the Pkg-phototools-devel mailing list