Last active
August 29, 2015 14:08
-
-
Save erinlin/826294ceb46616ed0277 to your computer and use it in GitHub Desktop.
TexturePacker: Batch converting images to RGBA4444 for autoSD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find <images folder> -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-fs \ | |
--border-padding 0 \ | |
--shape-padding 0 \ | |
--inner-padding 0 \ | |
--extrude 0 \ | |
--variant 1:@2x \ | |
--variant 0.5: | |
rm -r dummy*.plist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment