GNOME Bugzilla – Bug 665373
Eye of GNOME can't show .nef images properly
Last modified: 2011-12-07 12:35:21 UTC
Ubuntu 11.10 x64 eog 3.2.0-0ubuntu1 When I open .nef images the application it can only display the image in a very small, low resolution format, just as if it loaded the thumbnail into the image viewer instead of the proper photograph.
This is likely. IIRC NEFs are structurally similar to TIFF images and thus eog will load the included thumbnail or low-res variant of the image. If you want eog to load and interpret the RAW data of the image you'll need the gdk-pixbuf loader that ships with libopenraw. Unfortunately last time I checked this component isn't packaged with the rest of libopenraw for Ubuntu. You can check if it is installed on the commandline: $ gdk-pixbuf-query-loaders | grep -B2 -A7 x-nikon-nef "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libopenraw_pixbuf.so" "Digital camera RAW" 0 "gdk-pixbuf" "Digital camera RAW images loader." "LGPL" "image/x-adobe-dng" "image/x-canon-cr2" "image/x-canon-crw" "image/x-nikon-nef" "image/x-olympus-orf" "image/x-pentax-pef" "image/x-sony-arw" "image/x-epson-erf" "image/x-minolta-mrw" "" "dng" "cr2" "crw" "nef" "orf" "pef" "arw" "erf" "mrw" "" "MM *" " z " 80 "II* \020 CR\002 " " z zzz z" 100 "II* " " z" 80 "IIRO" " " 100 " MRM" "z " 100 "II\032 HEAPCCDR" " zzz " 100 If there's no output, it's not installed.
Ok, what do I need to do to make this work? Exactly what do I need to install, and perhaps configure?(In reply to comment #1) > This is likely. > IIRC NEFs are structurally similar to TIFF images and thus eog will load the > included thumbnail or low-res variant of the image. > > If you want eog to load and interpret the RAW data of the image you'll need the > gdk-pixbuf loader that ships with libopenraw. Unfortunately last time I checked > this component isn't packaged with the rest of libopenraw for Ubuntu. > > You can check if it is installed on the commandline: > > $ gdk-pixbuf-query-loaders | grep -B2 -A7 x-nikon-nef > "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libopenraw_pixbuf.so" > "Digital camera RAW" 0 "gdk-pixbuf" "Digital camera RAW images loader." "LGPL" > "image/x-adobe-dng" "image/x-canon-cr2" "image/x-canon-crw" "image/x-nikon-nef" > "image/x-olympus-orf" "image/x-pentax-pef" "image/x-sony-arw" > "image/x-epson-erf" "image/x-minolta-mrw" "" > "dng" "cr2" "crw" "nef" "orf" "pef" "arw" "erf" "mrw" "" > "MM *" " z " 80 > "II* \020 CR\002 " " z zzz z" 100 > "II* " " z" 80 > "IIRO" " " 100 > " MRM" "z " 100 > "II\032 HEAPCCDR" " zzz " 100 > > If there's no output, it's not installed. Ok, what do I need to do to make this work? Exactly what do I need to install, and perhaps configure?
sorry for the messed up formatting of the previous reply, I'm not used to how bugzilla works :)
Well, I'd say that depends on how good you are at compiling stuff yourself. If you're not so good at it, you should open a Launchpad ticket for libopenraw and request the inclusion of the loader and possibly an update to the latest package version. Alternatively, the sourcecode to libopenraw is there: http://libopenraw.freedesktop.org For building you'll need at least the development packages for boost and gdk-pixbuf installed. Then it's a standard autotools build. Doing "make install" should install the loader at the right position. Remember though that I'm not an Ubuntu user, so things might be different over there.
I reported the bug here: https://bugs.launchpad.net/ubuntu/+source/eog/+bug/901196 I really have no experience solving this issue myself so I hope some ubuntu developer will take care of it.