Page MenuHomePhabricator

Prerendered SVGs with transparent parts show an ugly color in Internet Explorer
Closed, ResolvedPublic

Description

Author: matthiasbinninger

Description:
SVGs are renderes to PNG by the mediawiki software. As Internet Explorer can not
display transparent areas in these images, he showes them with some sort of
default-color (some blue-gray thing). This lookes pretty ugly and prevents the
svg-images to be used in articles. (lots of coat of armes and logos are effected
by this). (ex.: [[Image:CDU_logo.svg]])

It is possible to define a background color into the png image, which is not
shown by modern browsers. In gimp you can choose "Hintergrundfarbe sichern"
(german version, should be something like "save background color") when saving
as png to do this. White would be a good choice. Result: Forefox, Opera and
others show still everything perfect (transparent), Internet Explorer showes a
white background.

For an example with different images see URL above.

Maybe this can be fixed easily within the configuration of the svg renderer.


Version: unspecified
Severity: major
OS: Windows XP
URL: http://home.arcor.de/dbenzhuser/daten/transie.html

Details

Reference
bz4478

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 9:01 PM
bzimport set Reference to bz4478.
bzimport added a subscriber: Unknown Object (MLST).

Wiki.Melancholie wrote:

Confirmed. This bug makes transparent SVGs really ugly
(using IE on Windows)! Thus, I changed the importance of
this bug.

Note that IE7 (now available as a englis-only beta also working in non-English genuine Windows XP or

  1. will now support alphatransparency in PNG images ;

see http://www.microsoft.com/windows/ie/ie7/ie7betaredirect.mspx

rotemliss wrote:

The Commons people delete redundant images of PNG, and leave only the SVG - and
it makes troubles at the Hebrew Wikipedia, and probably also at many other
projects - within Internet Explorer 6 users, and one of the sysops there also
requested everyone not to replace the PNG images to the SVG ones (if they are
transperent, of course), and uploaded the PNG image to the local server. Now
Commons is useless with these images. That's a critical bug for the success of
Commons.

That's the reason we should fix that bug soon.

Any commons admin doing that should be immediately desysopped.

librsvg 2.14.0 renders its PNGs with a nice white background chunk.
Upgrade should resolve this.

rotemliss wrote:

Now this bug should be Worksframe, isn't it?

rotemliss wrote:

(In reply to comment #6)

Now this bug should be Worksframe, isn't it?

I meant, shouldn't it?

Ok, action=purge can now be used on an image page to force images to rerender.
(Be careful about caching; make sure it reloads the new image!)

matthiasbinninger wrote:

Thanks for your work, it's a lot better now!

RainerBielefeldNG wrote:

I see the progress for several images, but the crest on
http://de.wikipedia.org/wiki/Bild:Sin_escudo.svg still looks ugly with IE6
(grey question mark instead of white one)

Gilles raised the priority of this task from High to Unbreak Now!.Dec 4 2014, 10:19 AM
Gilles added a project: Multimedia.
Gilles moved this task from Untriaged to Done on the Multimedia board.
Gilles lowered the priority of this task from Unbreak Now! to High.Dec 4 2014, 11:21 AM