Skip to main content
Participant
July 22, 2024
Question

Batch Convert Rectangular Images to Fit in fixed Square

  • July 22, 2024
  • 1 reply
  • 143 views

Greetings,

 

I am trynig to batch a couple thousand images from rectangular to 1200x1200 px squares on an e-Commerce site.

 

The square image should have a 5% white border all around and the image shoud be centered. I know how to create batch processes but in this case some images have to be modified to fit into the square. Has anyone had any luck either creating a script to do this or implemented some AI based instructions to make it happen and not require touching every image.

 

Thanks,

 

J

This topic has been closed for replies.

1 reply

Stephen Marsh
Community Expert
Community Expert
July 22, 2024

What exactly does "some images have to be modified to fit into the square" mean? It's too hard to comment without before and after samples. Do you wish to crop? Distort? Letterbox? What?