Copy link to clipboard
Copied
Hello,
I have a lot of product photos, where i have to remove the background and save it as a JPG with a solid white background.
I would like to do this with several pictures at once, since theire quite similar. The products are colorful and pictured in front of a white background, so they have clear edges.
I tried to add an action for this, which works, but the result cant be saved as an JPG file.
I am trying and reading for so long, but i cant figure it out. If you could help me with this, it would be highly appreciated.
I tried making a script, but honestly i dont know where to start.
Thank you!!
You should be able to save as a jpg, or at least save as copy. You need to make sure the file has been flattened, and all extra channels and paths have been removed. Personally, I prefer scripting.
I don't want to offend users, so I decided to pull down the updated paid version. And put back the last free open source version. It's now back to free to download.
https://www.marspremedia.com/software/photoshop/batch-web-images
Copy link to clipboard
Copied
You should be able to save as a jpg, or at least save as copy. You need to make sure the file has been flattened, and all extra channels and paths have been removed. Personally, I prefer scripting.
Copy link to clipboard
Copied
You have to open one image, and Create an Action, and record your steps. Problem with removing backgrounds is every image could produce different results. You could create an action and then use object selection tool, then select inverse, then fill with white, then File>Export>Save for Web - select JPG and compression, maybe 80 would be good, then save, then stop recording your action. Then test it on another image.
It should work.... I can't vouch for the results, that will depend on the objects and how busy the backgrounds are.
Hope this helps!
best,
mark
Copy link to clipboard
Copied
If you are happy with the action results, then you can use the File > Scripts > Image Processor script that comes with Photoshop to batch open and save the files while applying the action. Just remove any open or save steps from the action as the script will perform those steps. This presumes that you are having issues with the File > Automate > Batch command.
Copy link to clipboard
Copied
There's another thread with a similar question:
Based on that post I came up with something. See that thread for more discussion of it. I'm still testing it but you might give it a try and see if it helps. Can't say for sure it will work for your situation but maybe. Let me know if it does. Download at this link:
http://www.marspremedia.com/software/photoshop/batch-web-images
Copy link to clipboard
Copied
It worked perfectly in my situation. I had over 3,000 product pictures with a white background, and the task was to remove the background and save them as .PNG files. While not all the pictures achieved optimal results initially, I manually adjusted them later on. With just a few adjustments to the settings, voilà , it worked like a charm.
Huge thanks to @willcampbell7 .
Copy link to clipboard
Copied
"I tried to add an action for this, which works, but the result cant be saved as an JPG file."
Where is the problem to save as JPG? Which command you are using when recording action?
Copy link to clipboard
Copied
@alicia25239363qqmu Have you tried the script I made? I was hoping it solves your request. If not, let me know where it comes up short. Thanks. Anyone else watching who has downloaded it, I've made a few tweaks. Get the latest at the link.
https://www.marspremedia.com/software/photoshop/batch-web-images
Copy link to clipboard
Copied
"Free to download and open source."
I dont think $10 makes it free.
As for Open Source, there is 0 documentation or code presented.
Help us out here Will Campbell?
Copy link to clipboard
Copied
It was free and open source for two years. I'll put back the open source version.
Copy link to clipboard
Copied
I don't want to offend users, so I decided to pull down the updated paid version. And put back the last free open source version. It's now back to free to download.
https://www.marspremedia.com/software/photoshop/batch-web-images