Page MenuHomePhabricator

HTTP 500 error trying to render an SVG file (2048x2048px; 2.9MB) to a large PNG thumbnail
Open, Needs TriagePublic

Description

https://commons.wikimedia.org/wiki/File:Operation_Lavender_2017.svg

Rendering to PNG doesn't work, for example this link https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Operation_Lavender_2017.svg/2048px-Operation_Lavender_2017.svg.png generates error "Our servers are currently under maintenance or experiencing a technical problem."

Event Timeline

MBH created this task.Oct 27 2018, 12:01 PM
Restricted Application added subscribers: Base, Aklapper. · View Herald TranscriptOct 27 2018, 12:01 PM
Reedy added a subscriber: Reedy.Oct 27 2018, 12:44 PM

https://upload.wikimedia.org/wikipedia/commons/thumb/6/6e/Operation_Lavender_2017.svg/1200px-Operation_Lavender_2017.svg.png works fine :P

I guess it's somewhat of a Performance-Team issue as trying to render a fairly large (by file size) SVG into a high resolution image takes too long

Aklapper renamed this task from SVG file cannot be rendered to PNG to HTTP 500 error trying to render an SVG file (2048x2048px; 2.9MB) to a large PNG thumbnail.Oct 27 2018, 8:31 PM
Aklapper added a project: Thumbor.

The file contains extensive feGaussianBlur filter usage, in which is librSVG not good. This filter has also only support recently.

MBH added a comment.Oct 28 2018, 11:22 PM

1024px version can't be rendered too, see