Last modified: 2014-06-13 11:51:52 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 T44090, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42090 - Filter effect Gaussian blur filter not rendered correctly for small to medium thumbnail sizes
Filter effect Gaussian blur filter not rendered correctly for small to medium...
Status: NEW
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
wmf-deployment
All All
: Lowest major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: ops, upstream
: 8566 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-14 01:24 UTC by Eduard Braun
Modified: 2014-06-13 11:51 UTC (History)
4 users (show)

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


Attachments

Description Eduard Braun 2012-11-14 01:24:04 UTC
The filter effect <feGaussianBlur> available in SVG specification (http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement) is often (or rather most of the time) not rendered correctly on all Wikimedia projects.

This is a known problem of librsvg (see https://bugzilla.gnome.org/show_bug.cgi?id=605875) but probably won't get fixed in the near future.

For some quite impressive examples refer to:
- http://de.wikipedia.org/wiki/Wikipedia:Probleme_mit_SVGs#Ein_verkleinertes_Vorschaubild_sieht_ganz_anders_aus_als_das_Originalbild
- http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/VirtualDub_Logo.svg/195px-VirtualDub_Logo.svg.png vs. http://upload.wikimedia.org/wikipedia/commons/thumb/a/a6/VirtualDub_Logo.svg/196px-VirtualDub_Logo.svg.png
- http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Audacity_Logo.svg/127px-Audacity_Logo.svg.png vs http://upload.wikimedia.org/wikipedia/commons/thumb/f/f6/Audacity_Logo.svg/128px-Audacity_Logo.svg.png


This bug severely restricts the possibilities of graphic artist on Wikimedia projects since it basically renders the Gaussian blur filter completely useless since the final rendering of the MediaWiki software is rather arbitrary and comes near to gambling in the end. However Gaussian blurring is heavily used in modern SVG images since it allows to create outstanding effects like 3D effects and superior shading.
Besides art created exclusively for Wikimedia projects, many free SVG images from other sources can't be used either since they are just not compatible, would need a lot of work to render correctly at all and wouldn't look nice in the end anyway.

Therefore it would be badly needed to either change the SVG renderer (maybe only for problematic SVG files?) or to finally fix the bug in librsvg (maybe consider http://strategy.wikimedia.org/wiki/Proposal:librsvg_development_funding ?)
Comment 1 Eduard Braun 2013-02-04 23:51:31 UTC
Since librsvg seems rather unmaintained and there seems to be no interest on side of the Wikimedia projects to consider using an alternative library on problematic SVGs I went on and fixed the underlying bug in librsvg myself.

See https://bugzilla.gnome.org/show_bug.cgi?id=605875#c9 for the patch. Sadly over at Gnome bugzilla nobody seems to be maintainig bug reports for librsvg or implementing patches given there. Therefore it's stuck right now.

If there are any Gnome developers around maybe you could have a look at it?
Comment 2 Eduard Braun 2013-08-15 21:48:27 UTC
Sorry guys, but this bug hits nearly every image that uses the Gaussian blur filter effect. This is a serious limitation for SVG creation!

Can we please include the patch I posted upstream [1] in our local copy of rsvg until bug 51555 is solved in one way or another?

[1] https://bug605875.bugzilla-attachments.gnome.org/attachment.cgi?id=229516
Comment 3 Andre Klapper 2014-06-13 11:51:52 UTC
*** Bug 8566 has been marked as a duplicate of this bug. ***

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


Navigation
Links