I also use Inkscape and rsvg-convert
I have a script for converting all *.svg icons to multiple sizes:
#!/bin/bash
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 64 -h 64 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_64.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 56 -h 56 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_56.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 48 -h 48 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_48.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 40 -h 40 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_40.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 32 -h 32 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_32.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 28 -h 28 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_28.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 24 -h 24 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_24.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 20 -h 20 -a -o ../png_all/`echo
$i | sed -e 's/.svg$/_20.png/'`; done
for i in *.[Ss][Vv][Gg]; do rsvg-convert $i -w 16 -h 16 -a -o ../png_all/`echo
$i | sed -e 's/svg$/png/'`; done
Yes, non-integer scaling may be blury sometimes but nothing horrible.
V.
______________________________________________________________
Od: "Michael Van Canneyt via lazarus" <lazarus@lists.lazarus-ide.org>
Komu: "Lazarus mailing list" <lazarus@lists.lazarus-ide.org>
Datum: 21.05.2020 16:14
Předmět: [Lazarus] Tool to make icons ?
Hi,
What is the tool used to make icons for standard Lazarus components ?
Every time I need to make an icon for a component,
I find myself in the situation that I start looking for a tool on internet.
Should not lazarus come out of the box with a basic tool that allows you to
create component icons with the correct sizes ?
Michael.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus
<https://lists.lazarus-ide.org/listinfo/lazarus>
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus