• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

What would be the best way to automate scaling artworks onto this wall?

New Here ,
Feb 08, 2021 Feb 08, 2021

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?
Screen Shot 2021-02-08 at 3.30.18 PM.png

I do this manually all the time but I now need to do it at a massive scale and would love to automate it.

TOPICS
Actions and scripting

Views

386

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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.

image.png

image.png

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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.

image.png

 

 

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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.

image.png

 

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 08, 2021 Feb 08, 2021

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.

 

warmer.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 08, 2021 Feb 08, 2021

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

Untitled-Current-View.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2021 Feb 09, 2021

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

Screenshot 2021-02-09 at 10.23.52.jpg

when you place the picture insert the width or height input in mm e.g.1000mm (must type mm)

Screenshot 2021-02-09 at 10.29.41.jpg

and it will be perfect to scale

Screenshot 2021-02-09 at 10.29.59.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Feb 09, 2021 Feb 09, 2021

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.

2021-02-09_11-47-49.png2021-02-09_11-46-27.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 09, 2021 Feb 09, 2021

Copy link to clipboard

Copied

LATEST

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.

JJMack

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines