Page MenuHomePhabricator

PNG thumbnails of black and white images are darker than original image
Closed, DuplicatePublic

Description

I've noticed on several black-and-white PNG images uploaded to Wikimedia Commons and English Wikipedia that the thumbnails are much darker than the original image. This can be seen in the following examples:
https://commons.wikimedia.org/wiki/File:Barry_Gibb_(Bee_Gees)_-_TopPop_1973_1_(cropped).png
https://en.wikipedia.org/wiki/File:S._G._THORELL_(Sweden).png

This seems to be related to the ImageMagick bug documented at http://www.bennadel.com/blog/2825-fixing-grayscale-png-thumbnail-images-that-come-out-too-dark-in-imagemagick-6-7-7.htm , in which case the solution was to force ImageMagick to render thumbnails as 24-bit PNGS (adding "-define png:format=png24").

Event Timeline

This seems to be related to the ImageMagick bug documented at http://www.bennadel.com/blog/2825-fixing-grayscale-png-thumbnail-images-that-come-out-too-dark-in-imagemagick-6-7-7.htm , in which case the solution was to force ImageMagick to render thumbnails as 24-bit PNGS (adding "-define png:format=png24").

This seems to be related to the ImageMagick bug documented at http://www.bennadel.com/blog/2825-fixing-grayscale-png-thumbnail-images-that-come-out-too-dark-in-imagemagick-6-7-7.htm , in which case the solution was to force ImageMagick to render thumbnails as 24-bit PNGS (adding "-define png:format=png24").

I don't think that blogpost is correct (or at least is misinterpreting the causes). Anyways the fix is documented up above at the beginning of this bug