Page MenuHomePhabricator

Several PNG thumbnail sizes of a specific SVG image do not display correctly
Open, Needs TriagePublic

Description

I was pointed out to the following broken thumbnail: https://upload.wikimedia.org/wikipedia/commons/thumb/1/1e/Zevenhuizen_Moerkapelle_wapen.svg/375px-Zevenhuizen_Moerkapelle_wapen.svg.png

The commons image page is: https://commons.wikimedia.org/wiki/File:Zevenhuizen_Moerkapelle_wapen.svg

As you can see (hopefully) is that the thumbnail is not completely generated, only the bottom part. Not sure if this is a one off, or a more general problem.

Event Timeline

Akoopal created this task.Jan 25 2019, 10:48 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 25 2019, 10:48 PM
Aklapper renamed this task from image corruption to Several PNG thumbnail sizes of a specific SVG image do not display correctly.Jan 26 2019, 1:36 PM
Aklapper added a project: Thumbor.
Gilles added a subscriber: Gilles.Feb 26 2019, 12:49 PM

Seems like this happens only for some sizes. Probably a librsvg bug.

Cannot reproduce locally with rsvg-convert -h 375 -f png -o Zevenhuizen_Moerkapelle_wapen.png Zevenhuizen_Moerkapelle_wapen.svg but I'm already on librsvg2-2.44.13-1.fc29.x86_64 (plus I guess we don't use rsvg-convert for this job).

We do use rsvg-convert, Stretch is on libsrvg 2.40.16-1. This is very likely to be something that would be fixed by a librsvg upgrade.

Aklapper moved this task from Backlog to Patch merged upstream on the Upstream board.