Blog

Removing background from all images in folder, automated

Nov 26th, 2014 by Max Tokman

Here’s a quick script solution we put together for everyone dealing with large volume product photography, with objects shot against solid color backgrounds.  It is actually a collection of three scripts - AppleScript, JavaScript and Photoshop action - that performs the task. 

To use it:
1. Download script archive for Mac or PC
2. unZip archive
3. Load "OSS_remove_Background.atn" into Photoshop actions (keep Photoshop open)
4. Run “Photoshop_remove_background” app from unZippped folder

How it will work:
- The app will prompt you for folder to process
- Once folder is selected, you will see each image in the folder being processed in Photoshop, with background removed and resulting file save back in the same folder as *.psd

What does it do:
- AppleScript automates all processes
- JavaScript file selects color from top left corner of the canvas using Magic Wand
- Photoshop action selects similar color and removes it from the image

Magic Wand and selection settings can be adjusted both in editable JavaScript file and Photoshop action to reflect specific color variations of each batch of photographs.  Processed PSD files can be then batch converted to another image format.

As always, feel free to contact us with any questions or suggestions on making this solution even better!

Categories:

wordpressSEOADAWeb Developmentweb designDrupalproductionHTML5responsive designcompliancesecurityCSSdesignTestingPhotoshopproduction tipsFlashtechnologiestoolsgoogletypographyGoogle Analyticsmarketingautomationharness-bbeta testingbrowserSSLE-commercethemesweb standardsplug-inQAwebsite buildingapp developmentweb preflightfirefoxJavaScriptquality controlintegrationsAdobe MuseAPImobile websiteAppleweb imagesite speedfontsiOSMicrosoftmodulesOpenSSLserver securityIE8Androidtabletsmobile devicesclientcommunicationimage compressionimage size cloudPDFresponsive statebreakpointInternet Explorer 8Windows XP FacebooktechnologyWebOSLong TailInteraction MetricsLinkedInhostsoftwareAdvertisingJSONapp lifespanabletmobile app challengeRGBgammacodecvideo sizeinstant video playback solutionBacklinksweb colorsvideo playbackintegration3rd partyParfaitvertical layoutiPad screen templatehorizontal layoutcustom fontsweb-fontsnon-Flash animationHTML5 animationEdge ReflowAdobe Edgeoptimizeddevelopmentresponsive buildAdobeCMS for FlashHTML4interactive banner adsWordpress pluginsconvertingfailseleniumW3Csony playstationnintendo wiiaugmented realityVideos and animations3D views of modelsDetroit Diesel CorporationMercedes-BenziTunesfragmented technology landscapeUDIDInDesign to Photoshop conversionExporting from InDesign to Photoshophtmlweb design softwareweb compatibilitynDesignRIAsAdobe AiroutsourcingCVE-2014-0224dudInDesignformatvideowireframeCMSwebsiteiPhonebrochurewareweb development awardmp4web awardweb developerssidney garberhigh fidelityawardupdatevulnerabilityCKEditorAdobe Edge Reflowprogramming awardrevolutionary softwarewebmonline subscriptionInDesign to HTMLFoundationBootstrapICANNgTLDscustom domain suffixesPhotoshop Layer compsdesign best practicesogvHeartbeatcollaborateconceptOSSrelationship marketingCSS3Ps. and CSS HatProject ParfaitAppleScriptecommercemicrosoft’s project natal

Feb 22nd, 2015 by Max Tokman

A colleague recently brought to my attention an article which stated in rather axiomatic fashion that website design is dead, period. As this would obviously concern many a practicing web designer with existentialist questions - if website design has indeed expired, well then, have I? Are my current projects bein...

Nov 13th, 2014 by Max Tokman

A popular system of interlinked hypertext documents, known as “the web”, makes almost any information ranging from funny animal videos to software training readily accessible. In some instances, it creates an illusion that task of any complexity can be treated as a DIY project - all you have to do is run a search...