[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] system: grub: Convert grub background using rsvg-convert
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] system: grub: Convert grub background using rsvg-convert |
Date: |
Thu, 27 Aug 2015 23:19:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Mark H Weaver <address@hidden> 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’.