1

I am expecting a job where I have to perform the same steps for many similar images, i.e. removing the background form the subject (sushi items), crop the image to the size of the subject, then resize it. I want to place the images later in the flyer that I prepared in illustrator already.

There are more than 60 items in the flyer, and I think it is not very smart to reapeat all the steps manually for every image, so I hope there is maybe a smarter way to finish this task.

I was thinking about loading every image in photoshop in a different layer, mask the background for every layer, resize all layers and than crop the image the final size. After that export all layers to png. Would this be a good way to do it?

1
  • What @Wolff said and also you might want to check some scripts that come with Photoshop: Load Files into Stack to load images as separate layers into one document and Export Layers to Files to export your layers to files later. Or use Quick Export As... from Layers Panel context menu.. There're a lot of different options Nov 28, 2019 at 8:08

1 Answer 1

1

You can use actions to automate things.

Basically it works like this:

  • Open the Actions panel.
  • Click the Create new set button to create a new set to contain your action(s), give it a name and click OK.
  • Click the Create new action button to create a new action, give it a name and click Record. Now Photoshop records everything you do. There are lots of things to consider and lots of quirks. You can experiment for yourself and read more about actions online.
  • Click the Stop playing/recording button to end your recording.
  • Now you can play back the same steps on another image (providing that it's actually possible).

But in your case (if you tell the whole story) I would do things it a little differently.

The background removal can probably not be automatized. You just have to find the most effective way to do it.

After doing that I would do an Image > Trim and trim based on Transparent Pixels. (You could make an action of this single step.)

After this you resize the image you say. Can I ask why you need to do that? Unless the images are in low resolution and you scale the images up to camouflage pixelation there is no need to add this extra step in my opinion. You can just scale the images in your design application and leave the images as they are.

In Illustrator you can select your placed image, open the Links panel, click the "sandwich" menu in the top right corner, select Placement Options and set Preserve to Proportions (Fit). This way when you relink to another image which might have different dimensions, it will always fit neatly into the same area.

1
  • The background removal could perhaps be fully automated in Photoshop CC using Select > Subject, and this operation can also be used in an Action. Obviously this is assuming the software can clearly identify the subject in the photos, for example they must have good contrast against the background, etc.
    – Billy Kerr
    Nov 28, 2019 at 12:01

Your Answer

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

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