Skip to main content
Participating Frequently
September 13, 2019
Question

Fit Image ad Canvas Resize action not working... Any ideas??

  • September 13, 2019
  • 3 replies
  • 2890 views

Wondered if someone can point out where I'm going wrong...

 

I have lots (1000+) images which I am trying to create a batch process for but getting nowhere fast.

 

The images are all jpegs of safety signs, some are landscape and some portrait in aspect which a number of different sizes.
I'm trying to create 1400x1400px squared up versions for use on a e-commerce site, with a coloured background to the rear to fill the gaps.

I've been trying to do this by recodring an action then running a batch process.

My action consists of:

  1. "Open" jpeg from source folder
  2. Use "Fit Image" in automate, then constrain within 1400x1400
  3. Use "Canvas Resize" to set dimensions to 1400x1400 to create my squared up image. Also set canvas extension color to my choosen background color.

 

I am then running the batch process, picking myaction, source folder and destination and then running.

 

However only the first image is being created as I wish. All the following images are just exactly as they are in the source folder.

 

 

This topic has been closed for replies.

3 replies

Stephen Marsh
Community Expert
Community Expert
September 13, 2019
My action consists of:
1. "Open" jpeg from source folder

 

The first step sounds like the problem, you should not record the opening of a file as the Batch command or Image Processor/Image Processor Pro scripts are designed to open the files.

Bojan Živković11378569
Community Expert
Community Expert
September 13, 2019

Can you upload action somewhere and post link here so we can check what is going on. Also which version of Photoshop you are using?

Have you tried File > Scripts > Image Processor which also can run action during batch process.

Participating Frequently
September 13, 2019
Hi Bojan, thanks for your reply.
Participating Frequently
September 13, 2019
I'm using Photoshop CC 2019 all updated on my iMac. I've just gone to export the action but it isn't present in the actions folder?? I think I might re-install photoshop and see if that helps. I did also try with Image processor but that failed to work also, but thanks for the suggestion. I'll re-install and let you know how I get on.
Tom Winkelmann
Inspiring
September 13, 2019

After you have recorded "Fit Image" to your action you have to stop your action. Then you must resize your canvas a little bit (doesn't matter what (smaller) size you choose). Then continue recording your action and set your "Canvas Size" to the right values (1400x1400px).

 

This ensures that both values (h / v) are included in the action.

Participating Frequently
September 13, 2019
Thanks for the help Tom. Unfortunately I tried as you said but still got the same result.
Participating Frequently
September 13, 2019
I did as you mentioned. Started recording action > Opened the original jpeg > Fit Image and set dimensions to 1400x1400 > Stop recording action > Canvas Resize changed canvas size to one pixel smaller > Started recording action again > Canvas Resize to 1400x1400 > Save as Jpeg > Close. Unfortunately just got the same results. 😞