Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332741 - media-gfx/gthumb can't view Nikon RAW NEF files
Summary: media-gfx/gthumb can't view Nikon RAW NEF files
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-14 14:41 UTC by Fabiano Francesconi
Modified: 2011-02-17 09:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info-20100909,3.79 KB, text/plain)
2010-09-10 06:11 UTC, Andy Wilkinson
Details
Gthumb grid view (Schermata.png,419.40 KB, image/png)
2010-12-18 23:50 UTC, Fabiano Francesconi
Details
Image view is not correctly shown (Schermata-1.png,63.57 KB, image/png)
2010-12-18 23:50 UTC, Fabiano Francesconi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano Francesconi 2010-08-14 14:41:34 UTC
I have this strange issue. I can't view any NEF files using gthumb (both stable and keyworded version).

The current set of useflag is: cdr exif gnome-keyring gstreamer raw tiff

The stable version will show the image as a small "stamp". Those are 12mpx images and are displayed so badly.
The keyworded version seems to be a little bit better but the images cannot be seen at all.

I don't know if it's something related to the app itself or something bad with my system but I can't find anything on the Internet.

Will you help me, please?
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-15 20:54:55 UTC
Is gthumb supposed to support NEF files at all, I have never heard of it so a sample file could be useful (attached to this bug).
Comment 2 Fabiano Francesconi 2010-08-15 22:58:40 UTC
From few bugs report I read (on ubuntu scene) it seems that it should read NEF files.

Here's the thing:

Nautilus shows me the miniature next to the file but I can't use evince (document viewer) to view those photos since it doesn't support them.

GThumb loads correctly the thumbnails in the bottom navbar but it can't show the photo once I try to load by clicking on the thumbnail. Using any JPEG image it works.

Here is the picture:
JPEG: http://dl.dropbox.com/u/355313/gthumb/DSC_0021.jpg
NEF: http://dl.dropbox.com/u/355313/gthumb/DSC_0021.NEF
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-08-16 20:20:46 UTC
ok this is the raw file format of Nikon cameras, it seems to embed jpeg and tiff for preview purpose. It works just fine here, what is the output of emerge -pv gthumb tiff ?
Also, do you have:
/usr/lib64/gthumb/extensions/libraw_files.so

and is the "Raw format support" extension enabled in gthumb extension menu ?
Comment 4 Fabiano Francesconi 2010-08-16 23:06:34 UTC
(In reply to comment #3)
> ok this is the raw file format of Nikon cameras, it seems to embed jpeg and
> tiff for preview purpose. It works just fine here, what is the output of emerge
> -pv gthumb tiff ?
> 

[ebuild   R   ] media-libs/tiff-3.9.4  USE="cxx jpeg zlib -jbig -static-libs" 1,404 kB
[ebuild   R   ] media-gfx/gthumb-2.11.5-r1  USE="cdr exif gnome-keyring gstreamer raw tiff -debug -http -slideshow -test" 0 kB

> Also, do you have:
> /usr/lib64/gthumb/extensions/libraw_files.so
Yes,
-rwxr-xr-x 1 root root 10K 12 ago 09.25 /usr/lib64/gthumb/extensions/libraw_files.so

> and is the "Raw format support" extension enabled in gthumb extension menu ?
> 

Yes, it is.
Comment 5 Andy Wilkinson 2010-09-10 06:11:56 UTC
Created attachment 246656 [details]
emerge --info

I can confirm this, and add a new twist...  when I try to open Fabiano's .NEF, I get the same result: a blank pane in gthumb.  When I try to open .NEF files from my wife's Nikon D60, they come out with the colors distorted beyond recognition, as in this screenshot:

http://hawkbats.com/bugs/gentoo_332741/Screenshot-DSC_0001.NEF.png

The original .NEF may be found here: http://hawkbats.com/bugs/gentoo_332741/DSC_0001.NEF

A reference .png export from ufraw may be found here:
hawkbats.com/bugs/gentoo_332741/DSC_0001.png

Output from emerge -pv gthumb tiff:

[ebuild   R   ] media-libs/tiff-3.9.4  USE="cxx jpeg zlib -jbig -static-libs" 0 kB
[ebuild   R   ] media-gfx/gthumb-2.11.6  USE="cdr exif gstreamer raw tiff -debug -gnome-keyring -http -slideshow -test" 0 kB

Let me know if there's anything I can do to help test further!
Comment 6 Pacho Ramos gentoo-dev 2010-12-03 23:26:18 UTC
Image is opened fine with 2.12.0, please try with it or 2.12.1
Comment 7 Fabiano Francesconi 2010-12-18 23:49:34 UTC
Using gthumb-2.12.1(cdr exif gnome-keyring gstreamer raw tiff -debug -http -slideshow -test) I can't see the picture (I haven't tried with 2.12.0)

I'll attach some screenshots.
Comment 8 Fabiano Francesconi 2010-12-18 23:50:24 UTC
Created attachment 257516 [details]
Gthumb grid view

It is ok, the images are showed here
Comment 9 Fabiano Francesconi 2010-12-18 23:50:56 UTC
Created attachment 257517 [details]
Image view is not correctly shown
Comment 10 Pacho Ramos gentoo-dev 2010-12-19 11:37:52 UTC
I have tried with your same USE flags and your posted image:
http://dl.dropbox.com/u/355313/gthumb/DSC_0021.NEF

and it still works fine for me.

Do you get the same problem on a new created user account? Do you get any error message when running gthumb and opening affected image from a terminal?
Comment 11 Sergiy Borodych 2011-01-06 13:20:17 UTC
similar problem
thumbail view ok, but image not - just empty screen

[ebuild   R   ] media-gfx/gthumb-2.12.1  USE="exif gstreamer raw tiff -cdr -debug -gnome-keyring -http -slideshow -test" 0 kB

also detect some output like
$ gthumb
(gthumb:16365): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Comment 12 Pacho Ramos gentoo-dev 2011-01-27 19:32:13 UTC
(In reply to comment #10)
> Do you get the same problem on a new created user account? 

ping
Comment 13 Fabiano Francesconi 2011-01-27 19:57:37 UTC
Sorry, I am not able to try it since I have removed Gentoo from my notebook :p

I guess #11 will still be able to see that.