document the ifvalid option value further

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-08-14 10:19:06 +02:00
parent 0067edf965
commit 5c617965f5
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3610,8 +3610,9 @@ ifvalid, 0, 90, 180 and 270. The default value is auto and indicates that input
images are rotated according to their EXIF Orientation tag. The values none and images are rotated according to their EXIF Orientation tag. The values none and
0 ignore the EXIF Orientation values of the input images. The value ifvalid 0 ignore the EXIF Orientation values of the input images. The value ifvalid
acts like auto but ignores invalid EXIF rotation values and only issues a acts like auto but ignores invalid EXIF rotation values and only issues a
warning instead of throwing an error. The values 90, 180 and 270 perform a warning instead of throwing an error. This is useful because many devices like
clockwise rotation of the image. Android phones, Canon cameras or scanners emit an invalid Orientation tag value
of zero. The values 90, 180 and 270 perform a clockwise rotation of the image.
""", """,
) )
sizeargs.add_argument( sizeargs.add_argument(