@emacsen I ended up needed to do the samething with my kids project. What I did is crop the image. Also image-magic is amazing that manipulating images. `convert -background none -size 1024x1024 infile.svg outfile.png`
Using inkscape via cli - `inkscape -z -e out.png -w 1000 -h 1000 in.svg`
https://stackoverflow.com/questions/9853325/how-to-convert-a-svg-to-a-png-with-imagemagick#14174624
I got it!
It took a little wrangling but!
(formatted nicely for readability)
convert -background none \
-resize 180x180 \
-gravity center \
-extent 180x180 \
infile.svg outfile.png
@doctormo @emacsen @nixfreak Mesh gradients have been removed from the SVG2 draft (see the end of K.2.16) :( https://svgwg.org/svg2-draft/changes.html#pservers
@doctormo I was looking at Inkscape's implementation, and the cairo work is pretty small.
Do you know if something other than Inkscape implements mesh gradients? I'm inclined to supporting them in librsvg, for the sake of compat with Inkscape, but it would be good to know.
@nixfreak
Sadly those aren't working for me :(
convert, even specifying 512x512, gives me:
outfile.png: PNG image data, 343 x 464, 8-bit/color RGBA, non-interlaced
Sadly the inkscape cli didnt work at all, other than removing the -z and -e, which is what I got from the beginning.