Mark H Weaver <m...@netris.org> skribis:

> This patch modifies 'svg->png' in (gnu system grub) to use rsvg-convert
> instead of inkscape.  Inkscape is a rather heavy dependency to convert
> an image.  This is important for users who choose to avoid binary
> substitutes.

Good idea.

> The main difficulty here was that our SVG artwork is partially
> transparent, and includes a "Background" layer with a checker-board
> pattern.  I guess this layer is for convenience when editing in
> Inkscape, and apparently Inkscape excludes the "Background" layer when
> exporting to png.  Other tools render all layers.  Therefore, avoiding
> Inkscape required code to remove that layer before conversion to png.

Fun.  :-)

If possible, I would rather remove said layer directly in the
guix-artwork repo, or somehow make that layer invisible to
rsvg-convert.  Luis Felipe: What’s your take on this?

Thanks,
Ludo’.

Reply via email to