Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: How to save layers with cropping?

$
0
0

I'm not sure if you understood me. I have multiple layers in a document, and I want to trim each layer separately and save it to a file. For instance let's say I have a doc with 2 layers: first layer has bounds == [0, 0, 100, 100], second one has bounds == [100, 0, 200, 100]. The whole doc has size == [200, 100]. So 1st layer takes the left half and 2nd one the right half of the doc. So I need to trim/crop the doc to only the first half, save it, then get the original doc size again, trim/doc to only the second half and save that, too. But trim/crop deletes everything outside of the trimmed/cropped area.


Viewing all articles
Browse latest Browse all 27456

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>