Added logic to auto-scale when output width is smaller than the scaled clipwidth

Addresses issue #12 — Specifying a small canvas size doesn't work.

Simply calculates scale parameter from width.