forked from treehouse/emoji
update README and convert script to comply with 9da35145f4
parent
9da35145f4
commit
94bce41a84
51
README.md
51
README.md
|
@ -2,39 +2,30 @@
|
|||
|
||||
## Pride Set
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Branding
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## Licenses
|
||||
|
||||
Images from the Treehouse Emoji Pride set are published through the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
|
||||
|
||||
All rights are reserved for images in the Treehouse Emoji Treehouse set.
|
||||
All images are published through the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication.
|
||||
|
||||
All other files are under The 3-Clause BSD License.
|
||||
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
LENGTH=128
|
||||
MARGIN=1
|
||||
WIDTH=126
|
||||
HEIGHT=84 # flags
|
||||
HEIGHT=84
|
||||
|
||||
TEMP=`mktemp -d -p ""`
|
||||
|
||||
# pride flags
|
||||
for svg_path in pride/svg/*.svg; do
|
||||
svg=${svg_path#"pride/svg/"}
|
||||
for svg_path in src/pride/*flag.svg; do
|
||||
svg=${svg_path#"src/pride/"}
|
||||
# resize
|
||||
convert ${svg_path} \
|
||||
-resize ${WIDTH}x${HEIGHT} \
|
||||
|
@ -31,12 +31,11 @@ for svg_path in pride/svg/*.svg; do
|
|||
-gravity center \
|
||||
$TEMP/margin-${svg%.svg}.png \
|
||||
-extent ${LENGTH}x${LENGTH} \
|
||||
./pride/png/${svg%.svg}.png
|
||||
./dist/pride/${svg%.svg}.png
|
||||
echo ${svg%.svg} created
|
||||
done
|
||||
|
||||
rm -rf $TEMP
|
||||
|
||||
# fix and remove metadata
|
||||
exiftool -all= -overwrite_original ./pride/png/*
|
||||
exiftool -all= -overwrite_original ./branding/png/*
|
||||
exiftool -all= -overwrite_original ./dist/pride/*
|
||||
|
|
Loading…
Reference in New Issue