Page MenuHomePhabricator

SVG: part of the image not rendered for large resolutions
Closed, ResolvedPublic

Description

Thumbnails with large resolutions are not created correctly for https://commons.wikimedia.org/wiki/File:The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg

Up to 1497px the PNG is correct [1].
1498px to 1501px cause an error message: "Error generating thumbnail" [2].
1502px to 1506px again are correctly rendered.
Starting with 1507px only a part of the image is shown in the PNG [3].
Somewhere near 1845px it changes the behavior again, some resolutions give a rendering error, then even less of the image is shown, e. g. for 2000px (this resolution is linked on the description page) [4].

This bug seems to be the opposite of bug 18463 which reports that only a part of an SVG is rendered for low resolutions, while larger resolutions work.

[1] http://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg/1497px-The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg.png
[2] http://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg/1498px-The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg.png
[3] http://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg/1507px-The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg.png
[4] https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg/2000px-The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg.png


Version: unspecified
Severity: normal
URL: https://commons.wikimedia.org/wiki/File:The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg

Details

Reference
bz35657

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:18 AM
bzimport set Reference to bz35657.
bzimport added a subscriber: Unknown Object (MLST).

Probably just running up against the max size limit.

Switching to Wikimedia/SVG Rendering component.

Aklapper claimed this task.
Aklapper subscribed.

I purged https://commons.wikimedia.org/wiki/File:The_secret_flow_of_Wiki_Loves_Monuments_infografic.svg and the problem seems to be gone now for all the links given in the description above.

Closing this task as resolved; please reopen (with a link to a testcase) if this problem still happens.