Add support for crop and rotate_and_retry_on_failure options