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 raised the priority of this task from to Needs Triage.
Bawolff updated the task description. (Show Details)
Bawolff added projects: Multimedia, Commons.
Bawolff subscribed.
fgiunchedi triaged this task as Medium priority.Dec 1 2015, 4:03 PM
fgiunchedi subscribed.

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.