View previous topic :: View next topic |
Author |
Message |
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Sat Jan 26, 2019 10:08 pm Post subject: Question about turning off automatic image rotation |
|
|
I have a bunch of jpeg files that I want to show on one of those picture frames. My problem is that it doesn't detect the image rotation setting of the jpeg file, so I have to rotate it upright before I save it to the thumb drive. The problem is knowing when it needs to be rotated.
Are there any image viewers where this setting is either not interpreted or can be turned off so I can handle this efficiently? |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9779 Location: almost Mile High in the USA
|
Posted: Sat Jan 26, 2019 10:50 pm Post subject: |
|
|
If your camera has a rotation detector, it should save this bit in the tags. The "file" command should be able to detect this...
$ file unknown.jpg
unknown.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=10, description= , manufacturer=xxx, model=yyy, orientation=lower-left, xresolution=204, yresolution=212, resolutionunit=2, datetime=2018:12:12 11:22:33], baseline, precision 8, 4000x3000, frames 3
However how would a computer know if you really meant to keep the rotate flag - or at least I've taken some close-up/macro lens pictures I mean to be landscape but the camera mistook it as portrait. Anyway, "lower-left" and "upper-right" meant the camera was rotated (I think CCW and CW respectively, and "lower-right" is camera was upside down). _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
Featherfoot Veteran
Joined: 28 Dec 2002 Posts: 1108 Location: Stuart, Florida
|
Posted: Sun Jan 27, 2019 12:54 am Post subject: |
|
|
I can see how I can detect the orientation with "file", but I don't see how I can set it.
I think I would like to set the orientation to something fixed and rotate to match.
gwenview will let you rotate images, but sometimes it's difficult to see whether an image needs to be rotated.
Google indicated that imagemagick could handle some stuff. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9779 Location: almost Mile High in the USA
|
Posted: Sun Jan 27, 2019 4:20 am Post subject: |
|
|
Well, the idea is that now you know which ones have problems, and you should go fix these, or at least the hope is that these are the ones that you need to fix. Ultimately for a target device that doesn't know how to rotate, you have to manually rotate?
Shouldn't be hard to script something rotate the ones that aren't upper-left. _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|