Skip to main content
Participant
October 18, 2022
Answered

How do I build an action for subject extraction and saving to a png with a transparent background ?

  • October 18, 2022
  • 3 replies
  • 1120 views

Hi - I need some help! I would like to build an action to take a few 100 images in files, extract the subject from each file, then save the extracted image as a png with the subject using a transparent background. I have batched the subject extraction. What I can't figure out is how to SAVE a file as a PNG with a transparent background with a unique filename. 

 

Can someone share how this is done?  Thanks!

This topic has been closed for replies.
Correct answer willcampbell7

@Stephen Marsh  Thanks for the shout-out.

Auto Crop won't mask the image to make the background transparent.

But Batch Web Images will.

https://www.marspremedia.com/software/photoshop/batch-web-images

That one might be just what @stevec46934102 is looking for.

If it doesn't work quite right, I'm always interested to hear how it could be improved to solve the challenge.

 

3 replies

Bojan Živković11378569
Community Expert
Community Expert
October 19, 2022

In case that you still have problem, please explain which script you are using to automate procvess? There are options in Image Processor Pro to append to file name or to create unique filenames by adding numbers, for example. What is your end goal for filenames? Custom filename with sequential number, sequential number appended, suffix appended or something else?

Stephen Marsh
Community Expert
Community Expert
October 19, 2022

If you have recorded the filename in the action, you need to tick the override action save command checkbox in batch.

 

https://helpx.adobe.com/photoshop/using/processing-batch-files.html#process_a_batch_of_files

willcampbell7
willcampbell7Correct answer
Legend
October 19, 2022

@Stephen Marsh  Thanks for the shout-out.

Auto Crop won't mask the image to make the background transparent.

But Batch Web Images will.

https://www.marspremedia.com/software/photoshop/batch-web-images

That one might be just what @stevec46934102 is looking for.

If it doesn't work quite right, I'm always interested to hear how it could be improved to solve the challenge.

 

William Campbell
Stephen Marsh
Community Expert
Community Expert
October 19, 2022

@willcampbell7 – sounds like an update is due! :]

 

I read "select subject" and save to PNG and thought of your script right away... I obviously didn't consider the background removal.