add compression options for spritesheets

This commit is contained in:
Christopher Monsanto 2020-05-02 18:48:56 -04:00
parent 35e92d23b6
commit adb0df42a4
2 changed files with 3 additions and 2 deletions

View File

@ -79,6 +79,7 @@ There are src-specific versions of these settings:
- `CONFIG_TRAINERS_<PROGRAM>`: Compression options for `trainers/` only.
- `CONFIG_DEX_<PROGRAM>`: Compression options for `dex/` only.
- `CONFIG_MODELS_<PROGRAM>`: Compression options for `models/` only.
- `CONFIG_SPRITESHEET_<PROGRAM>`: Compression options for spritesheets only.
For example, these settings reflect the compression settings for the files chaos uploaded in `src/`:
```

View File

@ -43,8 +43,8 @@ tup.rule(
makecmd{
display="pokemonicons-pokeball-sheet",
[[
convert -background transparent -gravity center -extent 40x30 %f +append %o
]]
convert -background transparent -gravity center -extent 40x30 %f +append %o]],
compresspng{config="SPRITESHEET"}
},
{"build/ps/pokemonicons-pokeball-sheet.png"}
)