Combining --trim and --sheet-pack with --border-padding, --shape-padding and/or --inner-padding #1240
Is it possible to combine --trim and --sheet-pack with --border-padding, --shape-padding or --inner-padding when invoking the CLI?
I am testing with the following .ase:
Using the following to try and pack frames as nearly as possible but have 1px between each border:
aseprite --batch --trim --sheet-pack --shape-padding 1 --border-padding 1 --sheet player.png player.ase
As seen, this has dropped the --border-padding and --shape-padding options; we get bleed in-engine around the edges.
Dropping only the --sheet-pack option re-enables padding, but as the sheet isn't well packed on many sprites we lose a lot of texture memory and on some platforms brush up against texture size limits.
aseprite --batch --trim --shape-padding 1 --border-padding 1 --sheet player.png player.ase
Is there a way to combine these behaviours, such as this?
I've written a little tool you can use in the meantime https://github.com/Nuuf/aseprite-packer
Feel free to ask me any questions of you can't get it working.