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 126672 - "Unrecognised image file format" error when loading JPG file
"Unrecognised image file format" error when loading JPG file
Status: VERIFIED INCOMPLETE
Product: eog
Classification: Core
Component: image viewer
2.4.x
Other Linux
: Normal normal
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-11 00:02 UTC by benjamin.kopic
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
BigBrother.jpg 600 x 554 24bit JFIF N 97033 (94.76 KB, image/jpeg)
2003-11-11 00:03 UTC, benjamin.kopic
Details

Description benjamin.kopic 2003-11-11 00:02:23 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
Comment 1 benjamin.kopic 2003-11-11 00:03:56 UTC
Created attachment 21344 [details]
BigBrother.jpg  600 x 554  24bit JFIF  N   97033
Comment 2 Jens Finke 2003-11-11 06:16:51 UTC
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.
Comment 3 Luis Villa 2004-01-02 19:46:01 UTC
NEEDINFO: Benjamin, please provide the info Jens has asked for. 
Thanks!
Comment 4 Jens Finke 2004-03-18 13:57:08 UTC
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.