Last modified: 2013-03-28 02:59:07 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 T39265, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37265 - JPEG image not scaled correctly
JPEG image not scaled correctly
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.19.0
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-01 11:20 UTC by Marcin Cieślak
Modified: 2013-03-28 02:59 UTC (History)
5 users (show)

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


Attachments
Original 458 x 153 JPEG image (583.92 KB, image/jpeg)
2012-06-01 11:20 UTC, Marcin Cieślak
Details
120x40px thumbnail (broken) (545.35 KB, image/jpeg)
2012-06-01 11:22 UTC, Marcin Cieślak
Details
300x100px scaled version (broken) (547.62 KB, image/jpeg)
2012-06-01 11:24 UTC, Marcin Cieślak
Details

Description Marcin Cieślak 2012-06-01 11:20:32 UTC
Created attachment 10678 [details]
Original 458 x 153 JPEG image

For a file uploaded as 

https://commons.wikimedia.org/wiki/File:%C5%81RST_logo_kolor_new.jpg

both thumbnails (120 px wide) and rescaled (300px) versions seem to be truncated
(the image has a desired size but right side of the image is blank).
Comment 1 Marcin Cieślak 2012-06-01 11:22:03 UTC
Created attachment 10679 [details]
120x40px thumbnail (broken)
Comment 2 Marcin Cieślak 2012-06-01 11:24:38 UTC
Created attachment 10680 [details]
300x100px scaled version (broken)

Original file:

%C5%81RST_logo_kolor_new.jpg  458 x 153  32bit Adobe N  597936 

120px thumbnail:

https://upload.wikimedia.org/wikipedia/commons/thumb/4/4b/%C5%81RST_logo_kolor_new.jpg/120px-%C5%81RST_logo_kolor_new.jpg

120px-%C5%81ST_logo_kolor_new.jpg  120 x 40   32bit JFIF  N  558435 

300px scaled:

https://upload.wikimedia.org/wikipedia/commons/thumb/4/4b/%C5%81RST_logo_kolor_new.jpg/300px-%C5%81RST_logo_kolor_new.jpg

300px-%C5%81RST_logo_kolor_new.jpg  300 x 100  32bit JFIF  N  560761
Comment 3 Bawolff (Brian Wolff) 2012-06-27 14:18:33 UTC
I would guess that maybe its a colour profile issue. Perhaps when the thumb has the different colour profile, the grey becomes too light to see. (So either something similar to bug 24854, or perhaps image magick is doing the correct thing, and my browser is doing the wrong thing and the image is relying on the browser to do the wrong thing, or something else related to colour profiles)


I purged/tried different resolutions, so its not some intermitent issue, the thumb is being verifiably rendered this way every time

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


Navigation
Links