Hey Nate,
Apologies if i've not been clear, my original request was to still export those layers that are divisible by 16, but not add any extra padding.
- 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
I still tried your suggestion above that ignores those images, however the results are again returning weird values. For example, with padding set to 1px, an indivisible layer with dimensions 506x658px is exporting at 514x674px.
With padding set to 0px the layer exports at 506x658px again, ignoring the code.