Page MenuHomePhabricator

JPEG image not scaled correctly
Open, LowPublic

Description

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).


Version: 1.19.0
Severity: normal

Attached:

C5_81RST_logo_kolor_new.jpg (153×458 px, 583 KB)

Details

Reference
bz37265

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:22 AM
bzimport set Reference to bz37265.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 10679
120x40px thumbnail (broken)

Attached:

120px-_C5_81ST_logo_kolor_new.jpg (40×120 px, 545 KB)

Created attachment 10680
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

Attached:

300px-_C5_81RST_logo_kolor_new.jpg (100×300 px, 547 KB)

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