After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665373 - Eye of GNOME can't show .nef images properly
Eye of GNOME can't show .nef images properly
Status: RESOLVED NOTGNOME
Product: eog
Classification: Core
Component: image viewer
3.2.x
Other Linux
: Normal major
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-02 09:30 UTC by Niklas Rosenqvist
Modified: 2011-12-07 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Niklas Rosenqvist 2011-12-02 09:30:22 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.
Comment 1 Felix Riemann 2011-12-03 20:02:12 UTC
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.
Comment 2 Niklas Rosenqvist 2011-12-03 22:21:53 UTC
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?
Comment 3 Niklas Rosenqvist 2011-12-03 22:22:37 UTC
sorry for the messed up formatting of the previous reply, I'm not used to how bugzilla works :)
Comment 4 Felix Riemann 2011-12-07 12:08:24 UTC
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.
Comment 5 Niklas Rosenqvist 2011-12-07 12:35:21 UTC
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.