Page MenuHomePhabricator

inconsistent contrast for PNG thumbnail creation
Closed, DuplicatePublic

Description

"Recently" something changed in the PNG thumbnailing pipe. Lets just pick this file: https://commons.wikimedia.org/wiki/File:J%C3%BCrgen_Alberts_-_pv_portrait_02-3.png and purge only the thumbnail of the current version:

Screenshot from 2015-08-02 20-19-27.png (323×1 px, 87 KB)

Even though, the current version and the first version are the same file, the thumbnail differs significantly.

Event Timeline

McZusatz raised the priority of this task from to Needs Triage.
McZusatz updated the task description. (Show Details)

I'm not sure this is "inconsistent" but rather a change in behavior. :)
Histogram comparison:

T107706.png (242×414 px, 8 KB)

Only recent thumbnail related stuff I'm aware of is T102870: Reduce amount of thumbnail buckets, as https://phabricator.wikimedia.org/T77697 is still under discussion.

Indeed, the last change to https://github.com/wikimedia/mediawiki/blame/9c8f333eb87f128933dd754f4c7e4b26fa1cf514/includes/media/Bitmap.php#L160 was Jan 2014.

Did anyone update the binaries for imagemagick's convert? And what version is running right now?

Restricted Application added a subscriber: StudiesWorld. · View Herald Transcript