Slightly simplify the getexif procedure #202

Open
mara0004 wants to merge 2 commits from mara0004/img2pdf:getexif into main

2 commits

Author SHA1 Message Date
fd2306fdb2 remove now-unnecessary import 2024-08-26 13:16:17 +02:00
4fa160259d Slightly simplify the getexif procedure
No need for a loop here either.
Note that you could also use a dictionary rather than an if-elif tree
for the value -> rotation mapping (where valid/supported).
2024-08-25 17:52:38 +02:00