-
Align layers edge-to-edge expression
I have a total of 127 layers that I want to align edge-to-edge horizontally with each other. I think this could be done with expressions. Something like:
[position of the layer above the current one in the layer stack (a.k.a. the layer with a -1 lower index)]+[50% of the horizontal resolution of the layer above the current one (since anchor point is centered and that’s where the position is measured from]+[50% of the horizontal resolution of the current layer]
I believe something like that should mathematically align all layers edge-to-edge horizontally, even though they all have different aspect ratios (but share the same vertical resolution).
Any ideas?