Closed bromso closed 2 years ago
@LinusU Already on it - should have a commit addressing that shortly...
@bromso I narrowed down the generated sizes according to some very hasty online research. I added 16x16 for the VSCode icon use case, then: 48, 96, 256, 512, 1024. Adding more sizes is trivial, (see line 24 in generate.sh
) but I'd rather have more information on use cases.
@LinusU I wanted to set up the Azure pipeline to generate them as build artifacts but not sure if I did that correctly (still learning this tech stack). I avoided using svgexport
and went with Python's cairosvg
because I don't think the containers on Azure have browsers and testing on Docker locally demonstrated that svgexport
requires the browser to render the PNG files.
@dmwelch It all sounds good to me. As long as you guys are happy, I'm happy! 😄
:tada: This PR is included in version 4.2.5 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Awesome!
What is the use case for adding so many different sizes of the same image? Binary files are not great to put in Git because every version of the file gets stored forever and needs to be downloaded every time you
git clone
. How about keeping just the SVG files in the repository?