Skip to content

Commit

Permalink
Generate PNG icon for avatar.
Browse files Browse the repository at this point in the history
  • Loading branch information
oldnomad committed Oct 8, 2023
1 parent f288592 commit 0208555
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate-icon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ CUR_DIR=$(dirname "$0")
SIZES="256 128 64 32 16"

cd "$CUR_DIR"
rsvg-convert -f png -o img/icon.png img/icon.svg
for sz in $SIZES
do
rsvg-convert -f png -w "$sz" -h "$sz" img/icon.svg | pngtopam --alphapam
Expand Down
Binary file added img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0208555

Please sign in to comment.