4023820e

By: Michael Lynch <git@mtlynch.io>

Parse image dimensions at boundaries

Reject invalid image dimensions before they reach image processing while
preserving the 50-megapixel resolution limit for accepted images.