From 5c617965f536c888078212438b8fc0d2cf1924b8 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sat, 14 Aug 2021 10:19:06 +0200 Subject: [PATCH] document the ifvalid option value further --- src/img2pdf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/img2pdf.py b/src/img2pdf.py index 45d0988..8d5f2cf 100755 --- a/src/img2pdf.py +++ b/src/img2pdf.py @@ -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 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 -warning instead of throwing an error. The values 90, 180 and 270 perform a -clockwise rotation of the image. +warning instead of throwing an error. This is useful because many devices like +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(