Page MenuHomePhabricator

GIMP file format images display green instead of B&W
Closed, ResolvedPublic

Description

https://commons.wikimedia.org/wiki/File:Romain_Rolland_de_face_au_balcon,_Meurisse,_1914.xcf
https://commons.wikimedia.org/wiki/File:Romain_Rolland_au_balcon,_Meurisse,_1914.xcf
These images are displayed in green. This is confirmed by another user.
I use Chrome on Windows 7, if it matters.


Version: 1.24rc
Severity: normal

Details

Reference
bz66323

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:25 AM
bzimport set Reference to bz66323.
bzimport added a subscriber: Unknown Object (MLST).
Yann created this task.Jun 7 2014, 3:47 PM

Appears to be an upstream bug in image magick.

We could perhaps work around it by doing:
-colorspace sRGB -channel R -separate

Change 138213 had a related patch set uploaded by Brian Wolff:
Workaround image magick issue with greyscale xcf files

https://gerrit.wikimedia.org/r/138213

In my testing, image magick seems to take a greyscale+alpha xcf as having the greyscale channel be red and blue (and alpha as green). For a plain greyscale xcf, it seems like they grey channel is interpreted as all the channels, including alpha

Upstream reports this fixed in ImageMagick 6.8.9-3 Beta

Change 138213 merged by jenkins-bot:
Workaround image magick issue with greyscale xcf files

https://gerrit.wikimedia.org/r/138213

This should be fixed on commons starting on July 8. After the fix goes live on commons, you may need to do ?action=purge on the file description page to get rid of cached thumbs with wrong colour.

Gilles raised the priority of this task from Medium to Unbreak Now!.Dec 4 2014, 10:19 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to Medium.Dec 4 2014, 11:21 AM