Ask Your Question

fedora 26 and gnome with jpg file: Unsupported number of color components

asked 2017-08-03 16:56:09 -0600

lovepump gravatar image

Hi all,

I had a nice hires pic of the earth thru the rings of saturn (courtesy of NASA) as my desktop background up until last night or so, and then all of a sudden it's now just a black blackground. I'm not sure how to figure out what version of what part of gnome I need to know, but this is an up-to-date version of fedora 26 (via dnf update)

When I navigate in gnome file manager to the location that the picture now resides, "~/Pictures", I can type in a terminal various command-line ways to open a jpg, for example "firefox picname.jpg" and name completion doesn't allow the picture name as part of completion (as if it is a file that firefox cannot operate on).

If I navigate in Nautilus to the picture and try to open it, I get the error "Unsupported number of color components".

when I do "file" on the jpg, this is what I get:

[grant@lulz Pictures]$ file PIA21445hires.jpg PIA21445hires.jpg: JPEG image data, JFIF standard 1.02, resolution (DPI), density 72x72, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=7, orientation=upper-left, xresolution=98, yresolution=106, resolutionunit=2, software=Adobe Photoshop CS6 (Macintosh), datetime=2017:04:18 17:13:15], baseline, precision 8, 1024x1024, frames 1

Any ideas how to troubleshoot?


edit retag flag offensive close merge delete


Can you open it in a image editor e.g. Gimp?

fcomida gravatar imagefcomida ( 2017-08-03 21:32:05 -0600 )edit

I will check with gimp. However, I have managed to find the file again, via the link I originally followed to get it for my background. When I download the file again (I can see it in firefox, which I am using to save the image). I still am not able to look at it by finding it via nautilus (the image is of the generic tree) However, if I fully type in the name rather than use name completion it is visible in firefox). Here is the link to the nasa image,

lovepump gravatar imagelovepump ( 2017-08-04 11:29:44 -0600 )edit

Yes, it is viewable in gimp.

lovepump gravatar imagelovepump ( 2017-08-04 11:31:28 -0600 )edit

Someone else had the same issue.

villykruse gravatar imagevillykruse ( 2017-08-04 13:46:14 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-08-07 08:45:41 -0600

ogj gravatar image

sudo dnf downgrade gdk-pixbuf2

edit flag offensive delete link more


Thanks Ogj, I had sort of abandoned this pic as background because of the problem, which both you and Villykruse's link had solutions for. It was a bug in gdk-pixbuf2 that has since been fixed and I have my desktop image back up and running in Fedora 27.

lovepump gravatar imagelovepump ( 2017-11-30 13:37:05 -0600 )edit

Question Tools

1 follower


Asked: 2017-08-03 16:56:09 -0600

Seen: 394 times

Last updated: Aug 03 '17