Skip to content

Commit

Permalink
add initial cut at pngs and a script to generate them
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksville committed Jan 29, 2021
1 parent a071fa0 commit 73ba05c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions bin/generate-pngs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

set -e

SRCDIR=logo/svg
DESTDIR=logo/png

echo "Regenerating PNGs from SVGs"
inkscape --batch-process -o $DESTDIR/Mesh_Logo_Black_Small.png -w 50 -h 28 $SRCDIR/Mesh_Logo_Black_Small.svg
Binary file added logo/png/Mesh_Logo_Black_Small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ Secondary/Background/Accent color:

`RGB 103 234 148`

![Colors](styleguide/colors.png)
![Colors](styleguide/colors.png)

## A note to developers

If you are a developer using these images inside a Meshtastic® application, you can run bin/generate-pngs.sh to regenerate PNGs from the vector files. This script will be updated as needed to generate appropriate
'standard' sized/colored images for various platforms.

0 comments on commit 73ba05c

Please sign in to comment.