I enlisted the help of ChatGPT to solve the problem :D If anyone finds themselves in the same boat. Test on copies first. Python code.
from PIL import Image
import os
def get_image_orientation(image_path):
# Open the image file
with Image.open(image_path) as img:
try:
# Get the EXIF ...
Search found 5 matches
- Sun Jun 11, 2023 11:00 pm
- Forum: NConvert
- Topic: How to stop auto rotate
- Replies: 7
- Views: 5709
- Sat Jun 03, 2023 10:14 am
- Forum: NConvert
- Topic: How to stop auto rotate
- Replies: 7
- Views: 5709
Re: How to stop auto rotate
I think I understand the problem now :) These pictures were taken with my phone and apparently holding your phone sideways results in your photos being taken correctly and holding your phone straight up and down results in them being rotated but software doesn't reflect this for some reason.
I took ...
I took ...
- Fri Jun 02, 2023 9:06 am
- Forum: NConvert
- Topic: How to stop auto rotate
- Replies: 7
- Views: 5709
Re: How to stop auto rotate
which version do you use? It works with latest version
https://i.postimg.cc/SsmkTGcg/image.png
I did some more testing and it works fine for images I found online but images I've taken seem to be the problem :| It's weird, exiftool seems to cause the same behavior. I thought if I stripped ...
- Thu Jun 01, 2023 5:18 pm
- Forum: NConvert
- Topic: How to stop auto rotate
- Replies: 7
- Views: 5709
Re: How to stop auto rotate
secret options!
Thanks

Edit:
I got an error, Bad Argument -'no_auto_rotate'
Edit2:
Changed it from (this causes the error)
Code: Select all
nconvert -no_auto_rotate -out tiff
Code: Select all
nconvert -out tiff -no_auto_rotate
- Wed May 31, 2023 9:40 pm
- Forum: NConvert
- Topic: How to stop auto rotate
- Replies: 7
- Views: 5709
How to stop auto rotate
When I use nconvert it rotates images after converting them
nconvert -quiet -out tiff
Looked through the -help but didn't see anything that looked like it would do what I needed and search only turned this up https://newsgroup.xnview.com/viewtopic.php?f=57&t=38239&p=153383&hilit=auto+rotate ...
nconvert -quiet -out tiff
Looked through the -help but didn't see anything that looked like it would do what I needed and search only turned this up https://newsgroup.xnview.com/viewtopic.php?f=57&t=38239&p=153383&hilit=auto+rotate ...