Copy link to clipboard
Copied
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!
@Stephen_A_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.
Copy link to clipboard
Copied
A script here from @willcampbell7
https://www.marspremedia.com/software/photoshop/auto-crop
Which came from a discussion here:
Also:
Copy link to clipboard
Copied
@Stephen_A_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.
Copy link to clipboard
Copied
@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.
Copy link to clipboard
Copied
@Stephen_A_Marsh All good either way. I appreciate the mention. I might have noticed the post myself, but I got buried in some projects. Haven't been able to get on the forum yet this week. Thanks again for the mention.
Copy link to clipboard
Copied
No worries, I now remember the topic where the Batch Web Images came from, but had forgotten its application to this topic! Looks like I am going to have to better familiarise myself with your scripts!
Copy link to clipboard
Copied
Will and honestly everyone - this was my first time posting and wow - this community rocks! I learned so much and have a lot more to learn. Will - your script gets it done! and thanks for putting in the readme file how to run the script and incorporate into PS!
Copy link to clipboard
Copied
Awesome! I'm glad it gets the job done.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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?