Author: dejan.papez
Description:
Hi, https://commons.wikimedia.org/wiki/File:Stara_Ljubljana_-_Ciril_Metodov_trg.tiff completely changed colours after it was moved.
Version: 1.23.0
Severity: normal
Author: dejan.papez
Description:
Hi, https://commons.wikimedia.org/wiki/File:Stara_Ljubljana_-_Ciril_Metodov_trg.tiff completely changed colours after it was moved.
Version: 1.23.0
Severity: normal
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T44725 Multimedia file format support (tracking) | |||
Open | None | T64466 TIFF handling (tracking) | |||
Resolved | None | T65907 Tiff image with jpeg compressed data has incorrect colours (image magick needs upgrading?) | |||
Resolved | Joe | T84842 Convert eqiad imagescalers to HHVM, Trusty | |||
Resolved | tstarling | T91468 HHVM with FastCGI does not support streaming output | |||
Resolved | Joe | T93194 Create an HHVM 3.6.0 package, adding Tim's streaming patch |
Converting https://upload.wikimedia.org/wikipedia/commons/archive/5/59/20140414211458%21Stara_Ljubljana_-_Ciril_Metodov_trg.tiff on my machine via imagemagick works correctly. Some sort of bug in the converter used on the production servers?
The only relevant difference between the current working and the old broken image seems to be the lack of compression. (The old version has transparency and the new does not, but that does not seem to be the issue here.)
In https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=121392867#Change_of_colours_after_a_move Ruslik wrote "It is probably related to the fact that this tiff file uses jpeg compression."
(In reply to Tisza Gergő from comment #1)
Converting
https://upload.wikimedia.org/wikipedia/commons/archive/5/59/
20140414211458%21Stara_Ljubljana_-_Ciril_Metodov_trg.tiff on my machine via
imagemagick works correctly. Some sort of bug in the converter used on the
production servers?
Also fine for me too. All signs point to bug in specific version of image magick used on WMF servers
Another file with that issue:
https://commons.wikimedia.org/wiki/File:Herb_%26_Jan_Conn_-_Unclimbed_-1_-_1959_July_-_1.tif
Here an other example of a whole book uploaded by a GLAM in Switzerland, suffering of an ugly "pink effect":
https://commons.wikimedia.org/wiki/Category:Legacy_of_Tadeusz_Ko%C5%9Bciuszko_in_Solothurn
If the solution is to install a recent version of Imagemagick, we should maybe think about it and assign the bug to ops?
@Bawolff
Relation between HHVM and Imagemagick is pretty unclear to me (and imagemagick is not listed in the list of tools to be updated in the ticket description). However, I trust you to have the overview on this and linked both tickets.
WMF is upgrading the operating system on the servers as part of their migration to HHVM. They are upgrading from Ubuntu 12.04 ("precise") to 14.04 ("trusty"), which includes a new version of ImageMagick (see packages.ubuntu.com).
(and imagemagick is not listed in the list of tools to be updated in the ticket description).
That list only includes Ubuntu packages that WMF had had to rebuild for precise. It does not include packages that came directly from Canonical without changes.
Actually I think for this one, it is the color profile which causes the incorrect colors.
Assuming this is obsolete nowadays as ImageMagick has been updated in the meantime. If this still happens, please file a new ticket.