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

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

Community Beginner ,
Sep 13, 2019 Sep 13, 2019

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.

 

 

TOPICS
Actions and scripting
2.8K
Translate
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
Advocate ,
Sep 13, 2019 Sep 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.

Translate
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 Beginner ,
Sep 13, 2019 Sep 13, 2019
Thanks for the help Tom. Unfortunately I tried as you said but still got the same result.
Translate
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 Beginner ,
Sep 13, 2019 Sep 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. 😞
Translate
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
Advocate ,
Sep 13, 2019 Sep 13, 2019

Drop the first step of your action (open file) and the save step - they are not neccessary

 

Here is a working action..

 

https://filehorst.de/d/crFFjlgf

Translate
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 Beginner ,
Sep 16, 2019 Sep 16, 2019
LATEST
Tom you are a star! Thank you so much for taking the time to reply and writing the action.
Translate
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 ,
Sep 13, 2019 Sep 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.

Translate
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 Beginner ,
Sep 13, 2019 Sep 13, 2019
Hi Bojan, thanks for your reply.
Translate
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 Beginner ,
Sep 13, 2019 Sep 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.
Translate
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 ,
Sep 13, 2019 Sep 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.

Translate
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