Hey @Nate, hope you're well! I know this thread is a bit old now but was wondering if you had any advice on tweaking the script even further to do the following when trim is enabled:
- Check if a layer's dimensions are divisible by 16, if not then add on padding to make it divisible by 16 & export png as normal
- Check if a layer's dimensions are divisible by 16, if it is then ignore padding and export as png as normal
Any help would be greatly appreciated! Cheers, Steve