Page MenuHomePhabricator

SVG rendering: black rectangle in .png thumbnails
Closed, ResolvedPublic

Description

https://en.wikipedia.org/wiki/File:Areas_of_insect_wing.svg shows a strange black box in the image at all resolutions, but this box is not present in the original image https://upload.wikimedia.org/wikipedia/commons/b/b8/Areas_of_insect_wing.svg

This is also true for renders on https://commons.wikimedia.org/wiki/File:Areas_of_insect_wing.svg

Event Timeline

Framawiki subscribed.

This black rectangle is present on the picture in wikipedia article.
It's present on all thumbnails/resized images in .png, the original .svg does not have that.

Framawiki renamed this task from SVG rendering problem to SVG rendering: black rectangle in .png thumbnails.Apr 25 2017, 9:11 PM

Cannot reproduce the issue locally when using ImageMagick to convert from SVG to PNG:

$:acko\> wget https://upload.wikimedia.org/wikipedia/commons/b/b8/Areas_of_insect_wing.svg 
$:acko\> convert -resize 1200x601 Areas_of_insect_wing.svg Areas_of_insect_wing.png
$:acko\> which convert
/usr/bin/convert
$:acko\> rpm -qf /usr/bin/convert 
ImageMagick-6.9.3.0-6.fc25.x86_64
Offnfopt claimed this task.
Offnfopt subscribed.

See Black rectangle (Flowed Text bug), "Chiswick Chap" already uploaded a new revision removing the flow elements, so this ticket can be closed.