Page MenuHomePhabricator

Wrong colors in thumbnails of image files
Closed, InvalidPublicBUG REPORT

Description

For all images on Commons the generated thumbnails contain wrong shades of blue, green, and in some cases red.
Blue #00f becomes #5600ff, and green #080 becomes #00971a.
For raster images the correct colors are only shown, when original size is used. For SVG never.

The problem is described in the following discussion on Commons:
https://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2023/01#Wrong_blue_and_green_in_all_thumbnails

It is easily seen in this screenshot:
https://commons.wikimedia.org/wiki/File:BlueCyanGreen_PNG_screenshot.png

Event Timeline

Aklapper renamed this task from Wrong blue and green in thumbnails to Wrong blue and green colors in thumbnails of PNG and SVG files.Feb 10 2023, 9:43 AM
Aklapper added a project: Thumbor.

@Watchduck: Thanks for reporting this. For future reference, please use the bug report form (linked from the top of the task creation page) to create a bug report, and fill in the sections in the template instead of deleting them. Thanks!

Aklapper renamed this task from Wrong blue and green colors in thumbnails of PNG and SVG files to Wrong blue and green colors in thumbnails of image files.Feb 10 2023, 10:33 AM

Is this issue still present? After version upgrades it appears to me that thumbs now match the original colours

Is this issue still present? After version upgrades it appears to me that thumbs now match the original colours

I just uploaded File:Blue 00f and green 080.png. The thumbnail colors are still wrong, see e.g. on the category page.

This also affects shades of red. Here is an example where pale #eb4e4e is rendered as bright #ff1d3e:
https://commons.wikimedia.org/wiki/File:Family_1110_1111_1110_1010_(Zhe_8329).svg

Watchduck renamed this task from Wrong blue and green colors in thumbnails of image files to Wrong colors in thumbnails of image files.Aug 19 2023, 9:55 PM
Watchduck updated the task description. (Show Details)
Watchduck updated the task description. (Show Details)

This can probably be closed. I just realized, that my browsers show some thumbnails with wrong colors.
Maybe I was wrong about this in February. Or maybe the problem existed then, and was fixed with the mentioned update.

Closing per last comment for the time being