Last modified: 2014-11-14 18:48:42 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 T71155, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69155 - PNG thumbnail get smudgy and streaky (near garbled)
PNG thumbnail get smudgy and streaky (near garbled)
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.24rc
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 41371
  Show dependency treegraph
 
Reported: 2014-08-05 20:58 UTC by PRO
Modified: 2014-11-14 18:48 UTC (History)
8 users (show)

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


Attachments

Description PRO 2014-08-05 20:58:06 UTC
The png [[File:Dpm2.png]] has a weird graphical artifact; size 640 (× 272) pixels https://upload.wikimedia.org/wikipedia/commons/thumb/archive/d/dd/20140805183822%21Dpm2.png/640px-Dpm2.png (the actual upload is also not fully fixed with transparency workaround), the C2–C3 bond of 2-methoxy-1-propanol (the vertical blue line in the top-left structure) has a ghost to its right. At larger renderings (2-3 px are sufficient), it disappears, so it could just be a wikimedia renderer goof or a hidden problem in the image itself. (by -- user: DMacks)
Comment 2 Brion Vibber 2014-08-06 09:09:02 UTC
Problem with VPSscaler?
Comment 3 PRO 2014-08-10 11:52:57 UTC
This case seems be very rare!? I found until yet no other picture (with exception of small thumbs with raster pattern, which get very big). But I've also not very intensively searched. So this bug may be negligible?
Comment 4 PRO 2014-11-14 18:10:35 UTC
Another example, there are some slightly visible vertical stripes. The image is indexed with only 6 colors. [[File:Wappen_Samtgemeinde_Bevensen-Ebstorf.png]]
Comment 5 Bawolff (Brian Wolff) 2014-11-14 18:27:28 UTC
(In reply to Brion Vibber from comment #2)
> Problem with VPSscaler?

Yes I think so. It looks similar to artifacts observed with tiffs when using vips shrink (instead of im_shrink) with non-integer shrink factors. Notice the lack of artifacts when using integral scale factors like https://upload.wikimedia.org/wikipedia/commons/thumb/archive/d/dd/20140805183822!Dpm2.png/2357px-Dpm2.png

That said, previously these types of artifacts were only observed on tiff files. Based on comment 4, maybe only observable on indexed pngs?
Comment 6 PRO 2014-11-14 18:48:42 UTC
(In reply to Bawolff (Brian Wolff) from comment #5)
> (In reply to Brion Vibber from comment #2)
> 
> ... Based on comment 4, maybe only observable on indexed pngs?

Yes I think so. I tested the "integral scale factors" and yes it's depending on the original resolution (unusually / odd pixel dimension seems a part of this bug). 

For example 2309 is Prime number (so this should be the last good render resoltion): http://upload.wikimedia.org/wikipedia/commons/thumb/d/d3/Wappen_Samtgemeinde_Bevensen-Ebstorf.png/2309px-Wappen_Samtgemeinde_Bevensen-Ebstorf.png

Renderings lower than 400px seems ok.

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


Navigation
Links