• Auto-detect image size and type