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

Resize + align multiple different product images (not in layers) and general worflow in PS

Explorer ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

Hi all,

Quick question.

We recently shot around 150 different sunglasses for a client from two angles.

The client wants 1024x1024 pixel images on a white background.

What will be the fastest way to resize the images where the glasses are in the same position in the frame in all the images without doing this manually one by one with guides (keep in mind that each image is a little different, some glasses are bigger, some smaller, some wider some a bit to the left, right, closer or further away from the camera), all are with the white background though.

It would also be helpful to hear some suggestions on general workflow that you think is good for this project - we thought of fixing one in ACR and applying the fixes to all the others although I am not sure its a great idea since some glasses are darker and some are not and applying the same settings might not result in a good result - suggestions?

Id

TOPICS
Actions and scripting

Views

227

Translate

Translate

Report

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
Community Expert ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

Please provide 2 or 3 sample JPEG files at original resolution and edited versions of the final resized 1:1 crops so that an automated routine can be created. The colour correction, retouching and other post processing isn't important at this point.

Votes

Translate

Translate

Report

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
Explorer ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

Hi Stephen and thanks for getting back to me.
I was just thinking that somebody could explain to me what to do and I will do it myself (this is how you learn right?).

If this is overly complicated I guess I can provide the images (the originals are 60MP each so we are not talking small files here plus I am not sure if the right way is to start from RAW which will give me much better play with editing in ACR or JPEG).

Votes

Translate

Translate

Report

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 ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied


@Iddo1234 wrote:

Hi Stephen and thanks for getting back to me.
I was just thinking that somebody could explain to me what to do and I will do it myself (this is how you learn right?).


 

General info is hard without seeing the images... You can see if Select > Select Subject can be used to isolate the product to help with automated cropping.

 

File > Automate > Fit Image and Image > Canvas Size may also come into play.

 

If you search the forum for key terms such as "square" or "1:1 ratio" you may also find ideas, actions or scripts.

 

 


@Iddo1234 wrote:

If this is overly complicated I guess I can provide the images (the originals are 60MP each so we are not talking small files here plus I am not sure if the right way is to start from RAW which will give me much better play with editing in ACR or JPEG).


 

It really depends on the images and other variables.

 

It can get "complex":

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/square-images-and-content-aware-fill-...

 

Or it could be "easy":

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-add-800x800px-white-background...

 

Votes

Translate

Translate

Report

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
Explorer ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

I see - OK.
I'll edit a couple of images tomorrow and post the links here as they are going to be way larger (the originals) than 47MB.

Votes

Translate

Translate

Report

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 ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

If you resize a few examples from different angles to say 50% or 25% size and save them as high quality JPEGs, I can always resize them back to 200% or 400% for testing. This shouldn't affect the results of automation testing too much.

 

It depends on the "white" background colour and whether there are strong shadows or not (softbox, diffusers) that will affect automated subject selection.

 

Also having final examples of the crop, margins, position etc. is helpful so that we know what you are aiming for.

 

Votes

Translate

Translate

Report

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
Explorer ,
Jun 14, 2024 Jun 14, 2024

Copy link to clipboard

Copied

OK - I'll provide all of that tomorrow for you - many thanks!

Votes

Translate

Translate

Report

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
Explorer ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

Sorry for the delayed answer it took a bit longer.
Here are 8 images - 4 original and 4 edited and cropped.
https://www.dropbox.com/scl/fo/01zad5p4btk0xu6y7yb45/AIOcXtnNLpE64JdrGVE6ZiY?rlkey=76alxnkgsg8nkso3t...
I am still unsure of what you plan to do with that exactly but I am eager to see what you can come up with. Please keep in mind that some of the images have bigger movements in the position of the glasses in the frame (more to the right/left or top/bottom of the frame.

Votes

Translate

Translate

Report

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 ,
Jun 16, 2024 Jun 16, 2024

Copy link to clipboard

Copied

Thanks for the samples. The front-on-view images must be processed separately from the angle view, which is no surprise.

 

When you colour correct and retouch, are you also removing the background so that the subject is on a transparent background?

 

Due to the variable nature of the lenses, it is hard to automate the selection using an automated method such as Select > Select Subject between images 7R508041.JPG and 7R508042.JPG. You can try this yourself and see what happens with the lens selection compared to your final examples.

 

If the automation starts from a transparent background on the original sized images, that would be best.

 

You wanted to learn, so can try a similar approach as below for the angle view shots.

 

For the front-on view, then it is just a case of:

 

  1. Trim to transparency
  2. Fit image 958x958px or whatever is the average/common width
  3. Resize canvas 1024x1024px from fixed top-centre
  4. Transform the top of the glasses layer 365px down from the top

 

Which can all be performed via an action, ensuring consistency for all images when run via File > Automate > Batch. I'm happy to share the action if you want it. It will also depend on whether you are batching to keep the layered files, or batching to save the final images.

 

2024-06-17_11-46-20.png

 

Here are examples of the action output:

 

ACTION-7R508042.jpg

 

Notice how the Select > Select Subject command has had problems with the lighter-toned lenses:

 

ACTION-7R508041.jpg

7R508041-sample-fixed.jpg

Votes

Translate

Translate

Report

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
LEGEND ,
Jun 17, 2024 Jun 17, 2024

Copy link to clipboard

Copied

LATEST

Centering the images is fairly easy, but the center of the bounding box won't be the same with different angles. I'm a product photographer and have an action where I select the background, remove it, center the image, and then flatten.

Votes

Translate

Translate

Report

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