You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to add a true/false for auto rotating the images to the correct orientation, your current resizes don't maintain EXIF so the output thumbs are sometimes orientated incorrect.
There are always ways to retain EXIF which might also allow the devices to draw correct orientation
Lots of ways to skin this cat, i just did the following which worked for me, but not sure what it would break on.
# shutil.copyfile(photo, new_original_photo)
im = Image.open(photo)
im = ImageOps.exif_transpose(im)
im.save(new_original_photo)
The text was updated successfully, but these errors were encountered:
Do you want to add a true/false for auto rotating the images to the correct orientation, your current resizes don't maintain EXIF so the output thumbs are sometimes orientated incorrect.
There are always ways to retain EXIF which might also allow the devices to draw correct orientation
Lots of ways to skin this cat, i just did the following which worked for me, but not sure what it would break on.
The text was updated successfully, but these errors were encountered: