mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-12 01:27:58 +00:00
Make it easier to assemble images of other sizes
Until https://github.com/googlei18n/noto-emoji/issues/9 arrives, this will make it slightly more convenient to use this `Makefile` to build Twemoji, which uses 72 × 72 pixel PNGs.
This commit is contained in:
parent
11275b5a2e
commit
f88164ac0a
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -20,7 +20,8 @@ LDFLAGS = -lm `pkg-config --libs cairo`
|
|||
PNGQUANTDIR := third_party/pngquant
|
||||
PNGQUANT := $(PNGQUANTDIR)/pngquant
|
||||
PNGQUANTFLAGS = --speed 1 --skip-if-larger --quality 85-95 --force
|
||||
IMOPS = -size 136x128 canvas:none -compose copy -gravity center
|
||||
BODY_DIMENSIONS = 136x128
|
||||
IMOPS := -size $(BODY_DIMENSIONS) canvas:none -compose copy -gravity center
|
||||
|
||||
# zopflipng is better (about 5-10%) but much slower. it will be used if
|
||||
# present. pass ZOPFLIPNG= as an arg to make to use optipng instead.
|
||||
|
|
Loading…
Add table
Reference in a new issue