Take image URL from argument. Parse imagemagick-compatible geometry string. Add better error handling.