Page MenuHomePhabricator

Simple SVG fails to render properly as PNG
Closed, DuplicatePublicBUG REPORT

Description

Steps to Reproduce:

  1. Download the 2020 Google product logos from https://www.gstatic.com/apps/signup/resources/products_lockup_icon.svg
  2. Upload them e.g. to Wikimedia

Actual Results:

Google_Workspace_product_icons_(2020).svg.png (152×704 px, 11 KB)

Expected Results:

(As the original file)

Event Timeline

Aklapper added a subscriber: Bugreporter.

@Kashmiri: I assume this is about https://commons.wikimedia.org/wiki/File:Google_Workspace_product_icons_(2020).svg ? (Please always include links.)

Cannot reproduce locally running rsvg-convert -w 512 -f png -u -o products_lockup_icon.svg.png products_lockup_icon.svg under librsvg2-2.50.1 (way newer version than what's on Wikimedia servers) - PNG output is as expected.

@Bugreporter: This is unrelated to managing files themselves; this is about converting file content to thumbnails.

I added the whitespace that is required for librsvg 2.40.20 to properly parse the file.