Skip to main content
Known Participant
November 6, 2023
解決済み

Square images and content aware fill action

  • November 6, 2023
  • 返信数 1.
  • 2175 ビュー

I want to downsize all my vertical images which are way bigger than the size I want(1000px by 1000px).

How I can create actions which automate this process to bulk square all these images, content aware fill the right/left bars that creates when images squared.

 

Please suggest actions that retains maximum quality and colors do not get changed.

このトピックへの返信は締め切られました。
解決に役立った回答 Stephen Marsh

Here is another version which creates much better results, using Generative Fill from Photoshop 2024 (not compatible with earlier versions):

 

https://www.dropbox.com/scl/fi/4xmymx4yjgugo0785zqhh/Resize-to-Square-with-Generative-FIll-Ps-2024.atn?rlkey=62rwsqz9omh0rtggq9lxvuonn&dl=0

 

返信数 1

Stephen Marsh
Community Expert
Community Expert
November 6, 2023

One way is similar to the following:

 

 

You can download the action here, which presumes a flattened Background:

 

https://www.dropbox.com/scl/fi/wl6dilvmfq6bqks8as2be/Resize-to-Square-with-Content-Aware-FIll.atn?rlkey=j1jjtrf6xcchwsdmah4vfg1aa&dl=0

 

You may wish to add a flatten step at the end.

 

raeen作成者
Known Participant
November 7, 2023

When I run your action first time, it promted me twice to contunue but on the 2nd time it just did what I wanted. Thank you so much for the kind help

raeen作成者
Known Participant
November 7, 2023

Your image is a smart object layer. Why? Flatten the image and try again (working on a duplicate of corse).

 

As previously mentioned, the action expects a flattened image with a background layer.


Can you modify it in such a way that there is exactly 15% space/margin from top edge of the subject and 10% margin from bottom edge of the subject and subject is centrally aligned meaning space/margin to the left and right side of the subject is equal?

 

Finally, I want to black/white background to draw maximum attention to subject. I request you to please extend/modify this action to accomodate these changes, it would be great help.