New procs to capture image dimensions

Would mime_type be more apt here ?