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
|
||||
|
||||
![:agender_flag:](pride/png/agender-flag.png?raw=true ":agender_flag:")
|
||||
![:aromantic_flag:](pride/png/aromantic-flag.png?raw=true ":aromantic_flag:")
|
||||
![:asexual_flag:](pride/png/asexual-flag.png?raw=true ":asexual_flag:")
|
||||
![:asexual2_flag:](pride/png/asexual2-flag.png?raw=true ":asexual2_flag:")
|
||||
![:bigender_flag:](pride/png/bigender-flag.png?raw=true ":bigender_flag:")
|
||||
![:bisexual_flag:](pride/png/bisexual-flag.png?raw=true ":bisexual_flag:")
|
||||
![:demisexual_flag:](pride/png/demisexual-flag.png?raw=true ":demisexual_flag:")
|
||||
![:genderfluid_flag:](pride/png/genderfluid-flag.png?raw=true ":genderfluid_flag:")
|
||||
![:genderqueer_flag:](pride/png/genderqueer-flag.png?raw=true ":genderqueer_flag:")
|
||||
![:intersex_flag:](pride/png/intersex-flag.png?raw=true ":intersex_flag:")
|
||||
![:lesbian_flag:](pride/png/lesbian-flag.png?raw=true ":lesbian_flag:")
|
||||
![:lesbian2_flag:](pride/png/lesbian2-flag.png?raw=true ":lesbian2_flag:")
|
||||
![:nonbinary_flag:](pride/png/nonbinary-flag.png?raw=true ":nonbinary_flag:")
|
||||
![:nonbinary2_flag:](pride/png/nonbinary2-flag.png?raw=true ":nonbinary2_flag:")
|
||||
![:pansexual_flag:](pride/png/pansexual-flag.png?raw=true ":pansexual_flag:")
|
||||
![:polyamory_flag:](pride/png/polyamory-flag.png?raw=true ":polyamory_flag:")
|
||||
![:prorgress_flag:](pride/png/progress-flag.png?raw=true ":progress_flag:")
|
||||
![:prorgress2_flag:](pride/png/progress2-flag.png?raw=true ":progress2_flag:")
|
||||
![:rainbow_flag:](pride/png/rainbow-flag.png?raw=true ":rainbow_flag:")
|
||||
![:transgender_flag:](pride/png/transgender-flag.png?raw=true ":transgender_flag:")
|
||||
|
||||
## Branding
|
||||
|
||||
![:treehouse_icon:](branding/png/treehouse-icon.png?raw=true ":treehouse_icon:")
|
||||
![:treehouse_icon2:](branding/png/treehouse-icon-small.png?raw=true ":treehouse_icon2:")
|
||||
![:treehouse_wordmark:](branding/png/treehouse-icon-wordmark.png?raw=true ":treehouse_wordmark:")
|
||||
![:treehouse_logo:](branding/png/treehouse-logo-full.png?raw=true ":treehouse_logo:")
|
||||
![:agender_flag:](dist/pride/agender-flag.png?raw=true ":agender_flag:")
|
||||
![:aromantic_flag:](dist/pride/aromantic-flag.png?raw=true ":aromantic_flag:")
|
||||
![:asexual_flag:](dist/pride/asexual-flag.png?raw=true ":asexual_flag:")
|
||||
![:asexual2_flag:](dist/pride/asexual2-flag.png?raw=true ":asexual2_flag:")
|
||||
![:bigender_flag:](dist/pride/bigender-flag.png?raw=true ":bigender_flag:")
|
||||
![:bisexual_flag:](dist/pride/bisexual-flag.png?raw=true ":bisexual_flag:")
|
||||
![:demisexual_flag:](dist/pride/demisexual-flag.png?raw=true ":demisexual_flag:")
|
||||
![:genderfluid_flag:](dist/pride/genderfluid-flag.png?raw=true ":genderfluid_flag:")
|
||||
![:genderqueer_flag:](dist/pride/genderqueer-flag.png?raw=true ":genderqueer_flag:")
|
||||
![:intersex_flag:](dist/pride/intersex-flag.png?raw=true ":intersex_flag:")
|
||||
![:lesbian_flag:](dist/pride/lesbian-flag.png?raw=true ":lesbian_flag:")
|
||||
![:lesbian2_flag:](dist/pride/lesbian2-flag.png?raw=true ":lesbian2_flag:")
|
||||
![:nonbinary_flag:](dist/pride/nonbinary-flag.png?raw=true ":nonbinary_flag:")
|
||||
![:nonbinary2_flag:](dist/pride/nonbinary2-flag.png?raw=true ":nonbinary2_flag:")
|
||||
![:pansexual_flag:](dist/pride/pansexual-flag.png?raw=true ":pansexual_flag:")
|
||||
![:polyamory_flag:](dist/pride/polyamory-flag.png?raw=true ":polyamory_flag:")
|
||||
![:prorgress_flag:](dist/pride/progress-flag.png?raw=true ":progress_flag:")
|
||||
![:prorgress2_flag:](dist/pride/progress2-flag.png?raw=true ":progress2_flag:")
|
||||
![:rainbow_flag:](dist/pride/rainbow-flag.png?raw=true ":rainbow_flag:")
|
||||
![:transgender_flag:](dist/pride/transgender-flag.png?raw=true ":transgender_flag:")
|
||||
|
||||
## 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