Sunday, January 5, 2014

Adding Water Marks to Images: Bash Script

I got tasked with building a website for the Boy Scout Troop I am affiliated with.  With that came lots and lots of photos people wanted to view.  About 6.6GB in total.  These images also needed to be water marked.  We are using Square Space because of it's ease of use, but there is no way to have it automatically watermark the images.  So I stitched some scripts together and came up with the following.

It's not the prettiest thing I have ever written but it get's the job done.  There are a lot more options that could be added in; oh well maybe another day.