Adds a frame around a photo to make it look like an old polaroid print.
The code is taken from Ruby RMagick's polaroid.rb.