Last modified: 2014-05-23 01:29:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31439, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29439 - thumbnail colours get altered
thumbnail colours get altered
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-16 19:35 UTC by Adam Borowski
Modified: 2014-05-23 01:29 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
miscoloured thumbnail (770.57 KB, image/jpeg)
2011-06-16 19:35 UTC, Adam Borowski
Details

Description Adam Borowski 2011-06-16 19:35:23 UTC
Created attachment 8669 [details]
miscoloured thumbnail

I just found an image on Wikipedia whose thumbnail has all of black turned into white.  Even more interesting, this is not restricted to pure black as antialiased edges are white as well.  Strangely, other colours are nearly unaltered -- dark ones are slightly brightened while bright ones slightly darker but the change is minimal.

The image is https://secure.wikimedia.org/wikipedia/en/wiki/File:Vietnam_POW_Camps.jpg, thumbnail size: 885×768.
Comment 1 Brion Vibber 2011-06-16 21:08:01 UTC
Weird... I can confirm doing some current resizing on it.

Only unusual thing I notice about the source file is it's listed as 32bit rather than the usual 24bit; not sure what exactly that means in this context since jpeg doesn't do alpha.
Comment 2 Mark A. Hershberger 2011-06-20 19:17:26 UTC
If you change it to a 24bit image and then do the thumbnailing, does the anti-aliasing change?

Seems like an ImageMagick bug, really
Comment 3 Bawolff (Brian Wolff) 2014-05-23 01:29:51 UTC
Looks like an icc profile - U.S. Web Coated (SWOP) v2 (black without it, white with the profile)

Now a days, thumbnails keep their colour profiles, so I'm going to call this worksforme, as display is consistent (although may vary between browsers).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links