Page MenuHomePhabricator

image magick stripping colour profile of PNG files [probably regression]
Closed, DuplicatePublic

Description

Image in question is old versions of https://commons.wikimedia.org/wiki/File:Nh-apluto-mountains-plains-9-17-15.png . See also https://commons.wikimedia.org/w/index.php?title=Commons:Village_pump&oldid=172508328#Lost_brighness_after_resizing_png_by_Commons_.28recent_pluto_sunset_photo.29

Compare https://upload.wikimedia.org/wikipedia/commons/archive/c/c3/20150917174614%21Nh-apluto-mountains-plains-9-17-15.png vs https://upload.wikimedia.org/wikipedia/commons/thumb/archive/c/c3/20150917174614%21Nh-apluto-mountains-plains-9-17-15.png/120px-Nh-apluto-mountains-plains-9-17-15.png The thumb appears a lot darker. If you look at metadata, the thumb does not have an icc profile.

Testing locally, I was not able to reproduce this stripping of icc profiles on png files. I believe it is due to different versions of image magick that I have locally vs what wmf uses (I tried 6.6.0-4,6.8.9-3 and 6.9.1-9 locally. The current version on wmf servers appears to be 6.7.7-10 which I don't have installed locally).

This may be a regression from when image scalars were last updated.

Event Timeline

Bawolff created this task.Sep 19 2015, 3:25 AM
Bawolff raised the priority of this task from to Needs Triage.
Bawolff updated the task description. (Show Details)
Bawolff added projects: Multimedia, Commons.
Bawolff added a subscriber: Bawolff.
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 19 2015, 3:25 AM

Didn't spot anything obviously related in upstream at http://www.imagemagick.org/discourse-server/viewforum.php?f=3

Steinsplitter moved this task from Incoming to Backlog on the Commons board.Sep 19 2015, 6:06 PM
zhuyifei1999 moved this task from Backlog to Uploading on the Commons board.Nov 15 2015, 6:11 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 15 2015, 6:11 AM
Krenair added a subscriber: Krenair.
fgiunchedi triaged this task as Normal priority.Dec 1 2015, 4:03 PM
fgiunchedi added a subscriber: fgiunchedi.

I'm getting 404 on the link above, do you have other samples @Bawolff ?

Nemo_bis renamed this task from image magick striping colour profile of PNG files [probably regression] to image magick stripping colour profile of PNG files [probably regression].Dec 12 2015, 9:33 AM
Nemo_bis set Security to None.
Restricted Application added a project: Multimedia. · View Herald TranscriptJan 26 2016, 4:18 PM
Restricted Application added a subscriber: Poyekhali. · View Herald TranscriptMay 8 2016, 2:11 PM