Non Destructive Trim, protect the layer below
I am trying to script this. I want to be able to trim a layer, then expand the canvas by a set amount. Then reveal the 'whole layer' below. I can do all of this, but the issue I have is I need to trim a layer, but keep the deleted pixels of the layer underneath.
My method prior to using trim is to hide the other layers then 'trim'
Un hiding the layer then use reveal doesn't work as it has been deleted during trim How can I lock a layer so that this is protected?
Matt
