
For a new game I needed 70+ 'polaroid' style images, but I only had regular (square) jpg images. I could think of several ways of achieving this:
I could painstakingly manipulate each of the 70+ images;
This would work, of course, but...yawn...and I'd probably make mistakes along the way
A quick search found several tools, some free, some paid-for.
I didn't want to pay for something, especially as I was going to give away the results.
And, I'm always wary of free online tools...
I use an Apple MacBook. It has some amazing hidden powers - well, not hidden, but certainly not commonly used. So donning my explorer's pith helmet I prepared to explore...
First, the Results
I created a tool that;
Looks pretty good to me!
Let's cut to the chase...
on run {input, parameters}
repeat with this_file in input
set this_path to the quoted form of the POSIX path of this_file
do shell script "sips " & this_path & " -p 455 375 --padColor FFFFFF -I"
do shell script "sips " & this_path & " -c 415 375 --cropOffset 40 1 -I"
end repeat
return input
end run
Things to beware
I hope this helps someone else out.
Leave a comment if it does!