Does Kohya_ss read the EXIF orientation data of photos? #1171
Unanswered
abdullahcfix
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm attempting to train a Lora on myself and before I begin, I want to know if I'm doing it right. Basically, this is my second time doing this and last time, some of the generated images were coming out rotated 90 degrees even though while cropping and resizing my pics, they were correctly oriented in Windows Explorer and Windows Photo Viewer. Today, while doing the same in Microsoft Office 2010 Picture Manager, some pics appear rotated 90 degrees to the left while others are rotated 180 degrees. All of these were taken with my iPhone, saved to Google Drive, and downloaded to my PC. Some of them are HEIC file types, so I used an online tool to convert them all to JPG. I asked Bing Chat why this is and it basically said Windows Explorer on Windows 10 and up uses the EXIF orientation tag to determine how to display the image, but that Picture Manager might not be correctly reading it (I guess since it's old software). If I was to rotate the image to be right side up in that program, it would be 90 degrees off in Explorer and all other apps.
My questions:
Is that true, and does Kohya_ss use that tag to determine how to orient the image?
Which one is correctly representing the orientation of the image or rather, which orientation is the one to set the images to to match what Kohya_ss is expecting?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions