You are not logged in.

#1 2011-07-31 14:58:58

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

[SOLVED] GIMP doesn't open .jpg files

Hello, I installed GIMP with pacman on my arch x64 and noticed it can neither open .jpg files nor save images as .jpg. First thing that came to my mind is that some codec or plugin is missing but I can't find anything. And as my image viewer is able to open .jpg files I think, it's a gimp specific problem. Hope you can help me. hmm

Last edited by Psylver (2011-08-05 03:06:21)

Offline

#2 2011-07-31 15:18:45

swanson
Member
From: Sweden
Registered: 2011-02-05
Posts: 759

Re: [SOLVED] GIMP doesn't open .jpg files

What happens when you from a terminal do:

gimp /path/to/your/picture.jpg

?

Offline

#3 2011-07-31 15:25:04

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

Re: [SOLVED] GIMP doesn't open .jpg files

It also tells me "Opening '/home/silver/Pictures/Wallpapers/X-Files.jpg' failed: Unknown file type" ..same happens when I try to open it by right clicking and selecting gimp.

Offline

#4 2011-07-31 19:50:54

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] GIMP doesn't open .jpg files

Maybe the jpgs are corrupt. Can you view the jpgs normally in any image viewer?

Offline

#5 2011-07-31 19:53:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] GIMP doesn't open .jpg files

Run

file /home/silver/Pictures/Wallpapers/X-Files.jpg

and post the output.

Offline

#6 2011-07-31 21:39:31

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

Re: [SOLVED] GIMP doesn't open .jpg files

anonymous_user wrote:

Maybe the jpgs are corrupt. Can you view the jpgs normally in any image viewer?

As I said, my image viewer is able to open them.

karol wrote:

Run

file /home/silver/Pictures/Wallpapers/X-Files.jpg

and post the output.

It says:

/home/silver/Pictures/Wallpapers/X-Files.jpg: JPEG image data, JFIF standard 1.01

Offline

#7 2011-07-31 22:17:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] GIMP doesn't open .jpg files

Sorry, all I can say is gimp works fine with files that are identified as 'JPEG image data, JFIF standard 1.01' on my i686 (other "types" of JPEG work too).

I have no idea how file associations work and I found http://ubuntuforums.org/showthread.php?t=1738721
That's all I can do.

Offline

#8 2011-07-31 22:18:22

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] GIMP doesn't open .jpg files

@Psylver - Does /usr/lib/gimp/2.0/plug-ins/file-jpeg exist on your system? If not, reinstall GIMP.

Last edited by anonymous_user (2011-07-31 22:18:42)

Offline

#9 2011-07-31 23:27:34

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

Re: [SOLVED] GIMP doesn't open .jpg files

karol wrote:

Sorry, all I can say is gimp works fine with files that are identified as 'JPEG image data, JFIF standard 1.01' on my i686 (other "types" of JPEG work too).

I have no idea how file associations work and I found http://ubuntuforums.org/showthread.php?t=1738721
That's all I can do.

I tried the solution suggested in the thread (emptying the package manager chache and reinstalling gimp aswell as installing "gimp-ufraw") but it didn't help.

anonymous_user wrote:

@Psylver - Does /usr/lib/gimp/2.0/plug-ins/file-jpeg exist on your system? If not, reinstall GIMP.

"file-jpeg" exists in that folder..

Offline

#10 2011-07-31 23:32:25

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] GIMP doesn't open .jpg files

They were not talking about the package manager cache, but about gimp-related settings:

I finally fixed the problem by uninstalling everything that referenced GIMP, deleting all of the settings folders

Offline

#11 2011-08-01 17:29:46

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

Re: [SOLVED] GIMP doesn't open .jpg files

karol wrote:

They were not talking about the package manager cache, but about gimp-related settings:

I finally fixed the problem by uninstalling everything that referenced GIMP, deleting all of the settings folders

2nd poster said:

[...] But the install now gave a little more clear error message about corrupted install file (in the apt cache).

Cleaned the cache completely and did the install (including gimp-ufraw) and now it works again [...]

..which I tried and which didn't work.

I now also tried deleting the folder in my /home directory and reinstalling it. Still no chance to open .jpg files.

Last edited by Psylver (2011-08-01 17:30:12)

Offline

#12 2011-08-04 12:16:10

Psylver
Member
From: Germany
Registered: 2010-06-10
Posts: 43

Re: [SOLVED] GIMP doesn't open .jpg files

Well, I somehow got it fixed by trying different things. If anyone else has this problem or will have it in future:

 sudo pacman -Syyf gimp gegl

fixed it for me.

Offline

Board footer

Powered by FluxBB