Last modified: 2012-09-20 17:36:57 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 T38346, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36346 - JPEG with CMYK colourspace not thumbnailed correctly
JPEG with CMYK colourspace not thumbnailed correctly
Status: RESOLVED DUPLICATE of bug 24854
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://upload.wikimedia.org/wikipedi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-29 22:12 UTC by Andre Koopal
Modified: 2012-09-20 17:36 UTC (History)
4 users (show)

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


Attachments

Description Andre Koopal 2012-04-29 22:12:01 UTC
From a question on the nl-wiki helpdesk: https://nl.wikipedia.org/w/index.php?title=Help:Helpdesk&oldid=30537151#Afbeelding_bij_P.J._Proby

The mentioned picture itself looks ok:

https://commons.wikimedia.org/wiki/File:P.J._Proby_2007.jpg

But if you take the 263px version (size for inside a dutch infobox, the image
seems to be rendered completely wrong (darker):

https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/P.J._Proby_2007.jpg/263px-P.J._Proby_2007.jpg

Did something go wrong with image scaling?
Comment 1 Mark A. Hershberger 2012-05-01 19:51:37 UTC
This problem comes up periodically, so I've posted a query here: http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20898
Comment 2 Andre Koopal 2012-05-07 07:11:40 UTC
Mark: seen that they ask 'More information on exact you are operating on the images is needed.'?
Comment 3 Tim Starling 2012-05-07 07:35:57 UTC
Summary of the forum discussion: the image has a CMYK colourspace. ImageMagick does not convert the image to RGB, instead its many operators are expected to deal with CMYK buffers correctly. Some work, some fail spectacularly, even reading from arbitrary memory.

I've confirmed that the source image and the generated thumbnails are CMYK. Probably adding "-colorspace rgb" to the ImageMagick command line would fix it.
Comment 4 Tim Starling 2012-05-07 07:44:36 UTC
I've uploaded an RGB version to Commons, to fix the articles using this image. The original test case is now at

<https://upload.wikimedia.org/wikipedia/commons/archive/3/3b/20120507074031!P.J._Proby_2007.jpg>

Reducing priority since I assume this problem is very rare, given the low rate of reports.
Comment 5 Mark A. Hershberger 2012-05-08 01:01:03 UTC
(In reply to comment #4)
> Reducing priority since I assume this problem is very rare, given the low rate
> of reports.

It is.  Thanks for your help.
Comment 6 Mark A. Hershberger 2012-05-08 01:59:22 UTC
(In reply to comment #4)
> The original test case is now at
> 
> <https://upload.wikimedia.org/wikipedia/commons/archive/3/3b/20120507074031!P.J._Proby_2007.jpg>

Are you sure that is the original?  I can't reproduce the original problem on my lucid box.
Comment 7 Tim Starling 2012-05-08 02:07:59 UTC
Yes, that is the correct source image, and the history thumbnail still shows the problem:

<https://upload.wikimedia.org/wikipedia/commons/thumb/archive/3/3b/20120507074031!P.J._Proby_2007.jpg/96px-P.J._Proby_2007.jpg>
Comment 8 Marco 2012-06-13 10:53:22 UTC
(In reply to comment #1)
> This problem comes up periodically, so I've posted a query here:
> http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=20898

Thank you for your query.

I think this bug is a duplicate of bug 24854. Could so. please resolve duplicate this one?
Comment 9 Marco 2012-09-20 17:35:08 UTC
(In reply to comment #8)
It seems I don't have the rights to mark this as dupl. Could so else please do this?
Comment 10 Alex Monk 2012-09-20 17:36:57 UTC
(In reply to comment #9)
> (In reply to comment #8)
> It seems I don't have the rights to mark this as dupl. Could so else please do
> this?

Done.

*** This bug has been marked as a duplicate of bug 24854 ***

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


Navigation
Links