Skip to content

Instantly share code, notes, and snippets.

@erinlin
Created September 15, 2015 03:32
Show Gist options
  • Save erinlin/454e0e08fa9a9caa863a to your computer and use it in GitHub Desktop.
Save erinlin/454e0e08fa9a9caa863a to your computer and use it in GitHub Desktop.
[TexturePacker] save as RGB4444
find * -name \*.png | sed 's/\.png//g' | \
xargs -I % -n 1 TexturePacker %.png \
--sheet %{v}.png \
--data dummy{v}.plist \
--algorithm Basic \
--allow-free-size \
--max-width 4096 \
--max-height 4096 \
--size-constraints AnySize \
--no-trim \
--opt RGBA4444 \
--dither-none-nn \
--border-padding 0 \
--shape-padding 0 \
--inner-padding 0 \
--extrude 0 \
--variant 1:
rm -r dummy*.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment