Copy link to clipboard
Copied
I have the dimensions of the wall and the artworks. Is there a script I could use to accurately scale the artworks onto the wall? Like setting the dimensions of the wall to the artboard, placing an image and it asking for the dimensions of the artwork, then placing it to scale?
I do this manually all the time but I now need to do it at a massive scale and would love to automate it.
Copy link to clipboard
Copied
A script can do a fit image type of scale. It would to easy to block out an area on the wall and make it a smart object, Then add a layer style to frame it. Saved as a mockup template. You could use my "BatchMockupTemplates.jsx" use its edit and fit options to replace the image on the wall. Hoewver the wotld be two border if framed this way no frams woul be best.
Copy link to clipboard
Copied
JJMack's scripts provide a good "out of the box" solution for this task:
http://www.mouseprints.net/old/dpr/PhotoCollageToolkit.html
Copy link to clipboard
Copied
Its is hard to deal with transparent boarders with Photoshop scripting because some Photoshop features like Place and copy and paste will strip transparent boarders. I insure when I replace Smart object via Edit there will not be any transparent boarders stripped. I add a 1% opacity gray pixel to the Canvas top left and Bottom right corners. So if you add a Layer style to create a frame for the replaced images. Image with transparent boarders will be frameed OK. However, any isolated added 1% opacity pixel will also be framed. You would need to post process the populated mockups and use the spot healing brush to removed any framed isolated 1% gray pixel.
Copy link to clipboard
Copied
Because I'm Pasting into transparent canvas the correct size I may not need to add the 1% opacity gray pixels. I'll have to do some more testing.
Copy link to clipboard
Copied
P.S. Slightly off topic, however, unless you are going for an artistic "cold look" I'd address the white balance in the photo of the lady (not the neutral background), this really needs to be "warmed up" IMHO.
Copy link to clipboard
Copied
Is there a script I could use to accurately scale the artworks onto the wall?
you can fit as many images as you like but not accurate
Copy link to clipboard
Copied
Hi, I am not sure why you would need a script to do this if you have set up the artwork correctly and saved.
Change the Woman&Wall image size to e.g. wall height 2m
when you place the picture insert the width or height input in mm e.g.1000mm (must type mm)
and it will be perfect to scale
Copy link to clipboard
Copied
It seems that the script is not needed here. I would do the same - make a smart object with a transparent layer that bounds the work area, change its contents to get the desired units, then resize the input images and just change the contents of the smart object through actions and standard batch.
Copy link to clipboard
Copied
How do you batch replace that smart object content without a Script to handle different size replacement images. I do not think a batched Action could do it. My mockup scripts can.