I have got more than 1000 rectangular images (640x400) with a transparent background that I want to resize (to 600x375) and then copy/paste (centered) in a 600x600 transparent image.

In other words, I want to create 1000 600x600 square images from 1000 640x400 rectangular images without deforming what is drawn in the rectangular image.

Any idea about how to do that ?

Thanks !!!!

  • 1
    I do not have time for a long answer right now, but with that many, you want to look into ImageMagick. You would - with the right command - be able to do the whole thing in one go, at the most two. And no fiddling with (and this is the less good option 2) actions in Photoshop.
    – benteh
    Jun 20, 2016 at 21:33
  • If you can tell me what is the exact procedure to follow with this tool, it would be great ! Thanks !!!
    – toto_tata
    Jun 22, 2016 at 13:01

1 Answer 1


In Photoshop the easiest way is to make an action and then run a batch. First step is to change image size to desired and then change canvas size to 600.

Illustrator don't allow to record an action with artboard resize but you can do it with macros but you would still need to open every file manually and then start the macro.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.