Resize layer to fit guide lines

Anyone, especially newbies, asking for help with Photoshop Scripting and Photoshop Automation - as opposed to those contributing to discussion about an aspect of Photoshop Scripting

Moderators: Tom, Kukurykus

S_K

Resize layer to fit guide lines

Post by S_K »

Paul MR wrote:Yes, CS4 didn't support getting guide information so the first script won't work.

If you want to use 4 guides this should work. It could distort the layer though.



Hello Mr. Paul MR,

Thank you very much for this script. I was looking for a script that expands an imported layer to fit an image, but your script does one better by shrinking it to fit too. So thank you.

Regards,
S_K

Professional AI Audio Generation within Adobe Premiere Pro - Download Free Plugin here

Mike Hale

Resize layer to fit guide lines

Post by Mike Hale »

Sorry to bump an old thread. I guess I didn't test enough to notice a problem or used it enough to find it after I posted.

With guides now part of the DOM do you think it would be worth the effort for me to track down the reason it gives bad results?