Add perspective transform option.

Uses imagemagick distort. Outputs a PNG (regardless of source image type).