diagrams icon indicating copy to clipboard operation
diagrams copied to clipboard

Update Azure Icons

Open TenZense opened this issue 3 years ago • 1 comments

Hiya !

The Azure icons are missing a couple of core icons such as the NAT object which I happen to be needing. Unfortunately I do not uderstand pull requests so I'm hesitant to try update these myself. As such I would appreciate it if you could see about updating the icons when you get the chance.

The lastest icons can be found here, https://docs.microsoft.com/en-us/azure/architecture/icons/, however they're in SVG format and would need to be converted to png.

Thanks for making such a useful tool.

Al

TenZense avatar Nov 16 '21 18:11 TenZense

I have created PR https://github.com/mingrammer/diagrams/pull/640 to mitigate this issue, you can create png from to svg with this and inkscape:

find . -type f -name "*.svg" -exec bash -c 'inkscape -h 256 "$0" --export-png "${0%.svg}.png";mv "${0%.svg}.png" "$(echo "${0%.svg}.png" | sed -r 's/[0-9]{5}-icon-service-//')"' {} \;
find . -type f -name "*.svg" -exec bash -c 'rm "$0"' {} \;

rfernandezdo avatar Jan 26 '22 10:01 rfernandezdo