Resize a layer
I want to resize a layer to this size 6000x4000
But I didn't find anything in uxp
Does anyone have a piece of code I can use.
I want to resize a layer to this size 6000x4000
But I didn't find anything in uxp
Does anyone have a piece of code I can use.
Layer bounds is still a thing in UXP, so I'd start there:
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/objects/bounds/
I'll take a look when I have some free time.
Converting the layer to a smart object and editing the content and using image size to a specific px target is also possible for batchPlay UXP, but has more overhead.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.