GNOME Bugzilla – Bug 126672
"Unrecognised image file format" error when loading JPG file
Last modified: 2009-08-15 18:40:50 UTC
Description of Problem: Every time I tried to open a JPG file in EOG I get an error "Unrecognised image file format". So far I only noticed it with 24 bit JPEG files. Steps to reproduce the problem: 1. from the command line invoke: $ eog BigBrother.jpg 2. press return Actual Results: A dialogue box is displayed that says:- Loading of image BigBrother.jpg failed. Reason: Unrecognised image file format. Expected Results: A window displaying an image with following properties: $ jpeginfo BigBrother.jpg BigBrother.jpg 600 x 554 24bit JFIF N 97033 How often does this happen? Always Additional Information: 1. The same issue appears in 'gimp' and 'evolution', but not in 'mozilla' and 'epiphany'. 2. If I go to "Open a file..." dialogue box I do not see JPG file format in "Determine File Type:" combo drop down 3. Linux smee 2.4.20-gentoo-r5 #1 Wed Sep 10 20:58:27 BST 2003 i686 Pentium II (Deschutes) GenuineIntel GNU/Linux
Created attachment 21344 [details] BigBrother.jpg 600 x 554 24bit JFIF N 97033
Since you don't see the 'JPEG' type in the file open dialog, I suppose your setup is somehow broken. It looks like the jpeg loader isn't build together with the gdk-pixbuf library. Can you issue this command on the commandline: jens@dillon:~> gdk-pixbuf-query-loaders | grep jpeg "/usr/lib/gtk-2.0/2.2.0/loaders/libpixbufloader-jpeg.so" "jpeg" 1 "gtk20" "The JPEG image format" "image/jpeg" "" "jpeg" "jpe" "jpg" "" [Note this is Gnome 2.0, but the results should be similar for Gnome 2.4] If you get nothing here as a result, I assume you haven't installed libjpeg properly or there is another problem in building GTK (which includes gdk-pixbuf). Though this is quite strange, since I am using Gentoo-Linux myself and haven't had any problems like this yet.
NEEDINFO: Benjamin, please provide the info Jens has asked for. Thanks!
Greg Martin wrote in private mail: ---------------------------------------------------- In reference to bug: http://bugzilla.gnome.org/show_bug.cgi?id=126672 I think that I can shed some light. I too have the same problem and I use Gentoo & gnome. When I did this: grunt greg # gdk-pixbuf-query-loaders | grep jpeg I got this: grunt greg # I assume would be the same result for Benjamin. And the answer to the so called bug is remove -gtk or try adding gtk to your USE flags in the make.conf before installing or upgrading gnome. I believe it is totally user error with the USE flags, because this is a small problem effecting a small number of Gentoo newbs. Quick fix, reinstall gnome with the proper USE flags set. ----------------------------------------------- I assume this fixes the problem, therefore closing the bug.