Bug 21658 - cannot open grey-scale jpeg
Summary: cannot open grey-scale jpeg
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://bbs.archlinux.org/viewtopic.p...
Whiteboard: MGA6-32-OK MGA6-64-OK
Keywords: advisory, validated_update
Depends on:
Reported: 2017-09-03 11:34 CEST by Tony Blackwell
Modified: 2017-10-05 22:09 CEST (History)
4 users (show)

See Also:
Source RPM: gdk-pixbuf2.0-2.36.7-1.mga6.src.rpm
Status comment:


Description Tony Blackwell 2017-09-03 11:34:02 CEST
Description of problem:
M6 can't open any of my work files - all grey-scale jpeg.

Checking for my return to work in the morning.  Cannot open any of my 15,000 work jpeg files.  Error is 'unsupported number of color components'.  This is critical. 

From the archlinux reference above, it seems they forgot to allow for greyscale images.  According to the quoted web reference, downgrading the package to gdk-pixbuf2 version 'fixed' the problem.

Version-Release number of selected component (if applicable):

How reproducible:
applies to all the jpeg viewers I tried

Steps to Reproduce:
Comment 1 Tony Blackwell 2017-09-03 11:36:56 CEST
and later in that archlinux thread, I see gdk-pixbuf2- (by their numbering) is the fixed and available version
Comment 2 David Walser 2017-09-03 16:06:30 CEST
Indeed the fix for this is in the news file for 2.36.8 upstream.  There is also a 2.36.9 bugfix version:

2.36.9 is committed in SVN for Cauldron but not built.  I'm guessing there's a build problem with it.  We'll need to fix that so that we can also build it for Mageia 6.

Assignee: bugsquad => olav
Source RPM: gdk-pixbuf2.0 version 2.36.7 => gdk-pixbuf2.0-2.36.7-1.mga6.src.rpm

Comment 3 David Walser 2017-09-11 22:34:51 CEST
2.36.10 is out now, and actually built in Cauldron, so we can update this:

CC: (none) => luigiwalser

Comment 4 Tony Blackwell 2017-10-01 23:52:46 CEST
Timeline for distributing this in M6?
Comment 5 David Walser 2017-10-02 00:31:52 CEST

The gdk-pixbuf2.0 package has been upgraded to version 2.36.10, fixing display
of grayscale images, as well other issues.  See the upstream news files for


Updated packages in core/updates_testing:

from gdk-pixbuf2.0-2.36.10-1.mga6.src.rpm

Assignee: olav => qa-bugs

Comment 6 Tony Blackwell 2017-10-02 04:30:38 CEST
Thanks David.
For the moment, pkgs not actually made it there yet?
I'm still only seeing 2.36.7 with updates-testing enabled.
Mirror issue?
I'll try again later.
Much obliged,
Comment 7 Herman Viaene 2017-10-04 16:21:53 CEST
MGA6-32 on Asus A6000VM MATE
No installation issues.
Used at CLI
$ convert slide001.jpg -colorspace Gray grayslide1.jpg
to create a grayscale image.
Before update could not open it in ristretto with error 'unsupported number of color components'
after update opens perfectly.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA6-32-OK

Comment 8 Lewis Smith 2017-10-04 21:11:26 CEST
Testing M6/64
Thank you Herman for this neat way of creating a greyscale image. (I was going to use Gimp). It seems to keep the colour version somehow.
Under LXDE:

BEFORE update:
With Shotwell, it displayed briefly the colour original, then the gresycale.
With Gwenview & Okular, it displayed correctly the greyscale image.
With Ristretto and Image viewer = gpicview it showed the "Unsupported number of color components (1)" message.

AFTER update:
- gdk-pixbuf2.0-2.36.10-1.mga6.x86_64
- lib64gdk_pixbuf-gir2.0-2.36.10-1.mga6.x86_64
- lib64gdk_pixbuf2.0_0-2.36.10-1.mga6.x86_64
With Ristretto & Gpicview the greyscale image was correctly displayed. OK.


Whiteboard: MGA6-32-OK => MGA6-32-OK MGA6-64-OK
Keywords: (none) => advisory, validated_update
CC: (none) => lewyssmith, sysadmin-bugs

Comment 9 Tony Blackwell 2017-10-05 07:38:31 CEST
red-face: what am I doing wrong?
IN M6 with updates-testing enabled, I'm not seeing the recent packages.
They are in M6 updates-testing, not just in cauldron??
Comment 10 Herman Viaene 2017-10-05 08:30:07 CEST
I never used cauldron before. I'm on the Belgian mirror, and that one usually takes a day to synchronize.
Comment 11 David Walser 2017-10-05 16:37:21 CEST
Yes they are in Mageia 6 updates_testing.  Enabling that through our GUI tools usually isn't enough to see the packages there because it doesn't let you enable it as an updates repository.  You have to edit /etc/urpmi/urpmi.cfg manually and add an update line to that media.
Comment 12 Mageia Robot 2017-10-05 22:09:39 CEST
An update for this issue has been pushed to the Mageia Updates repository.


Resolution: (none) => FIXED

Note You need to log in before you can comment on or make changes to this bug.