Last modified: 2012-10-26 13:25:32 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 T31999, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29999 - Stripes on image thumbnail
Stripes on image thumbnail
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 24854
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-21 18:17 UTC by Tisza Gergő
Modified: 2012-10-26 13:25 UTC (History)
5 users (show)

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


Attachments

Description Tisza Gergő 2011-07-21 18:17:27 UTC
The image thumbnail in [[hu:Világosi_Gábor]] has weird stripes on it (in IE, it doesn't appear at all). Purging does not help. The original image seems fine: http://upload.wikimedia.org/wikipedia/commons/3/38/Vil%C3%A1gosi_G%C3%A1bor.jpg

Screenshots of the article in Firefox (looks 4.0) and IE8:
http://hu.wikipedia.org/wiki/F%C3%A1jl:Screen_Vilagosi_Gabor_Kep_Megjelenes_Mozilla.gif
http://hu.wikipedia.org/wiki/F%C3%A1jl:Screen_Vilagosi_Gabor_Kep_Megjelenes_IE8.gif
Comment 1 Brion Vibber 2011-07-21 20:30:18 UTC
I can reproduce this locally on Ubuntu 11.04 -- the worst artifacting goes away if I remove the '-sharpen' (!?!)

Striped output with options as per MW default:

convert \
-quality 80 \
-define jpeg:size=200x289 \
Világosi_Gábor.jpg \
-thumbnail '200x289!' \
-depth 8 \
-sharpen 0x0.4 \
-auto-orient \
out-striped.jpg


Non-striped output with the sharpen removed:

convert \
-quality 80 \
-define jpeg:size=200x289 \
Világosi_Gábor.jpg \
-thumbnail '200x289!' \
-depth 8 \
-auto-orient \
out-ok.jpg


$ convert --version
Version: ImageMagick 6.6.2-6 2011-03-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
Comment 2 Brion Vibber 2011-07-21 20:46:27 UTC
I can work around this locally by opening and re-saving the full size image in Gimp.

The original file has 4 color components and may be some sort of CMYK; that might be confusing things in ImageMagick which are optimized more for RGB and RGBA:

$ djpeg -verbose -debug Világosi_Gábor.jpg 
Independent JPEG Group's DJPEG, version 8b  16-May-2010
Copyright (C) 2010, Thomas G. Lane, Guido Vollbeding
Start of Image
Miscellaneous marker 0xe1, length 6494
Miscellaneous marker 0xed, length 15496
Miscellaneous marker 0xe1, length 6463
Adobe APP14 marker: version 100, flags 0x4000 0x0000, transform 2
Define Quantization Table 0  precision 0
           1    1    1    1    1    1    1    1
           1    1    1    1    1    1    1    1
           1    1    1    1    1    1    1    2
           1    1    1    1    1    1    2    2
           1    1    1    1    1    2    2    3
           1    1    1    1    2    2    3    3
           1    1    1    2    2    3    3    3
           1    1    2    2    3    3    3    3
Define Quantization Table 1  precision 0
           1    1    1    1    2    3    3    3
           1    1    1    2    3    3    3    3
           1    1    1    3    3    3    3    3
           1    2    3    3    3    3    3    3
           2    3    3    3    3    3    3    3
           3    3    3    3    3    3    3    3
           3    3    3    3    3    3    3    3
           3    3    3    3    3    3    3    3
Start Of Frame 0xc0: width=531, height=768, components=4
    Component 1: 1hx1v q=0
    Component 2: 1hx1v q=1
    Component 3: 1hx1v q=1
    Component 4: 1hx1v q=0
Define Restart Interval 67
Define Huffman Table 0x00
          0   0   6   2   3   1   0   0
          0   0   0   0   0   0   0   0
Define Huffman Table 0x01
          0   0   6   3   1   1   1   0
          0   0   0   0   0   0   0   0
Define Huffman Table 0x10
          0   2   1   3   4   1   3   3
          2   3   3   3   2   6   9 117
Define Huffman Table 0x11
          0   2   1   3   2   4   4   3
          5   4   4   4   6   6   5 109
Start Of Scan: 4 components
    Component 1: dc=0 ac=0
    Component 2: dc=1 ac=1
    Component 3: dc=1 ac=1
    Component 4: dc=0 ac=0
  Ss=0, Se=63, Ah=0, Al=0
PPM output must be grayscale or RGB
Comment 3 Derk-Jan Hartman 2011-07-21 20:48:50 UTC
Might be related to bug 24854. That is also about issues with CMYK
Comment 4 Nemo 2012-10-26 12:32:36 UTC
Fixed as well? I can't see the original problem as the screenshots were deleted and all seems fine now.
Comment 5 Marco 2012-10-26 13:25:14 UTC
Jup, fixed as well.

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


Navigation
Links