Skip to main content
Known Participant
April 14, 2021
Question

Need to transform 900+ images to 600x600 and keeping their name.

  • April 14, 2021
  • 2 replies
  • 1137 views

I have over 900 photos, all diferent sizes, as a transparant TIFF. For a webshop I need to 'transform' them to a 600x600 pixel size. Now I can make an action where I open a blank 600x600 and place an image there. But when I save it, it's saving it under a new name and I want to keep the original file name. So I think I have to do this job in a different way.

Anybody has an idea how I can make an action which does this?

This topic has been closed for replies.

2 replies

Trevor.Dennis
Community Expert
Community Expert
April 14, 2021

Regarding the name problem...

Create a new folder, and save the image to that folder after resizing.  The action will then send all images to the new folder, and as the file does not exist in that location, it will save with the original name.  

 

Are you saving the resized images as TIFF ?  I don't know all the steps you'll be using, but if you are trying to save as JPG you might need to add Flattern Image as the last step in the action (before saving) or it might want to save as PSD or TIFF.

 

You can also use File > Script > Image Processor to batch resize. I don't think I am totally clear on what you are trying to achieve, but you might be able to avoid using an Action this way.  You can, or course, run an action in Image Processor.

AppelmoesAuthor
Known Participant
April 14, 2021

@Stephen Marsh , @JJMack and @Trevor.Dennis , thank you all for the quick replies. Although my English isn't 100% I have used your remarks to get an action which does the trick for me.

Step 1:   File - Automate - Fit Image to 600 x 600.
Step 2: Canvas Size: 600 x 600 (uncheck the "Relative" option).
Step 3: Save the file under the same name.

Thanks again. 

AppelmoesAuthor
Known Participant
April 14, 2021

Oops, I was too happy too quick. 

The Canvas size option doesn't work unfortunately. It doesn't resize the images to 600 x 600.

Stephen Marsh
Community Expert
Community Expert
April 14, 2021

Working on a copy/test file...

 

Use file/automate/fit image 600x600px. Stop recording.

 

Then undo or make the canvas anything but 600px in either widht or depth.

 

Start recording again. Then add a canvas size step to 600x600px (you'll need the canvas not to be 600 in width or depth to correctly record this step).

 

You may also need to consider a background colour or transparency depending on final file format and use.

 

All of this can be recorded into an action and used with the batch command or various image processing scripts.

JJMack
Community Expert
Community Expert
April 14, 2021

If you do not want any boarders you need to first need to crop your image to have a 1:1 aspect ratio.  Then resize the cropped image to 600px x 600px.  If a centered crop will be OK with you you cans record an action that uses my Automate Plug-in Script   Aspect Ratio Selection then center crop you images to a 1:1 crop then use Image size to resize the crop to 600px x 600px.  Batch that action. The script is in my crafting actions package.

 

Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
Contains

Example
Download

JJMack
AppelmoesAuthor
Known Participant
April 14, 2021

@JJMack , I do not know yet if I (or my customer) wants borders, but I think with the Canvas-tool it's easy to make a border later.  

You say I have to crop my image to a 1:1 aspect ratio, but that's the problem. I don't know how to do that. As some images are landscape and some are portrait.