Skip to main content
Inspiring
September 13, 2019
Question

Pasting image with automatic resizing to match existing image

  • September 13, 2019
  • 3 replies
  • 389 views

I am creating an action that would paste (or place) an "edge overlay" on a layer above the photo. I will not know in advance what size the photo is, however, the overlay is 3600 px x 3600 px x 300 dpi. I want the size of the overlay to match the photo even if the photo is not square. Is there a way to do this? 

 

I seem to remember being able to do this but I probably wasn't in the context.

 

Thanks in advance!!!

This topic has been closed for replies.

3 replies

jilbertAuthor
Inspiring
September 14, 2019

Thank you for your replies ... I was afraid it was going to require some programing/scripting. 

 

Stephen Marsh
Community Expert
Community Expert
September 14, 2019

Too many unknowns, posting download links to the overlay image and two or three different aspect ratio sample images would help.

JJMack
Community Expert
Community Expert
September 13, 2019

If you do not know the size  the image will be and image size can vary.  What you want to do can not be done in an action that just records Photoshop  Steps.  A Photoshop Script can be coded to do what you want to do. That script could be used in  an action. So with the help of a custom script an action can do what you want done.

 

If you are trying to automate populating a template with images the are many actions and scripts around to do that. However, the template needs to comply with some template design rules. For Actions and Script have dependencies. 

Free Mockup and Photo Collage Toolkit

JJMack
jilbertAuthor
Inspiring
September 14, 2019
forgot to thank you for the link ... looks very interesting, but not exactly what I'm looking for. 🙂