Copy link to clipboard
Copied
Hi everyone!
I am looking for a script that would resize the selected layer to fill the canvas without cropping and center it.
As I have no coding background, I was trying to have a script writte by AI, but I couldnt make it work perfectly.
A solution would be greatly appreciated.
Thanks, Alex
There are many example scripts on the forum, here are two.
If these don't help, it may be best to clearly state how you wish landscape orientation layers should be handled in portrait canvas... And how portrait orientation layers are to be handled in landsca
...Copy link to clipboard
Copied
Copy link to clipboard
Copied
There are many example scripts on the forum, here are two.
If these don't help, it may be best to clearly state how you wish landscape orientation layers should be handled in portrait canvas... And how portrait orientation layers are to be handled in landscape canvas. Do you wish the layer to be stretched/distorted to fit, or proportionally scaled with letterboxing etc.
Visual examples with before/after are also great for clearly communicating your goals.
Copy link to clipboard
Copied
Good one, I had not picked up on the non-proportional implication of the wording.
Copy link to clipboard
Copied
Thank you very much, I can use all of the mentioned scripts, probably solved some problems which I didnt know I had as well 🙂