Help...attachments odd problem w rotation
User Name

Registration is FREE. Click to become a member of OrchidBoard community
(You're NOT logged in)

menu menu

Donate Now
and become
Forum Supporter.

Help...attachments odd problem w rotation
Many perks!



Fauna Top Sites
Old 03-02-2021, 03:56 PM
SouthPark's Avatar
SouthPark SouthPark is offline
Senior Member

Join Date: Dec 2018
Member of:AOS
Location: Australia, North Queensland
Posts: 4,452

Originally Posted by Dr. Dave 4u View Post
Just for fun, any ideas as to what might change in the file or its metadata?
Now you have me curious !!!
The metadata section will contain codes. Some camera pics will have more information than others. And not always in the same order of information from camera to other different kind of camera. But they all contain information such as orientation information. That orientation information is typically coded as numbers ----- (in the relevant section of the metadata) ---- like '1' or '2' or '3' or '4' or even up to number '8'. I think that usually there are only four relevant values --- that represent 0 degree rotation (relative to the pre-defined UP direction), 90 degree, -90 degree and 180 degree (upside down).

Each one is a code. The number '1' (if that's what is seen in the metadata for the orientation) usually means row number zero of an image is at the TOP, and column number zero is on the LEFT. That tells us that when we display the image on any basic picture viewer, then it would just come out looking 'normal' to us.

But if the photographer had rotated the camera from the camera's pre-defined 'UP' position (ie. rotated counter-clockwise by the equivalent of 90 degree, or rotated clockwise by 90 degree, or even rotated 180 degree --- ie upside down ----- then the associated code will be in that metadata. So - as long as you know where those values are in the metadata ----- and as long as you have a meta-data editor ------ and as long as you know the full details of the orientation information.

For example ---- my Samsung phone has a 6, 1, 3, 8 code system. Altering the value (ie. changing the number with meta-data editors will alter the orientation information.

For my Samsung phone - a '6' would mean the image displayed using a basic viewer would come out left-rotated by 90 degrees. This is assuming that the right-hand-side long edge of the phone is the general photo-taking orientation - ie. right-side long edge facing upwards to the sky is 'general' direction (but we know that a lot of people hold the phone vertically, which is fine - but is not the 'general' reference direction). And a '1' would mean the image would be displayed unrotated - normal. A '3' would mean upside down image. And a '8' would mean the image displayed would appear right-rotated by 90 degrees. Knowing the orientation information allows us to use our own program (software) to graphically rotate an image to the 'normal' position, and then also update the orientation information (such as to change it to a '1'), and then re-save the image automatically to a new filename. The new image file would then always be displayed correctly with any basic image viewer.

Naturally - there can be other situations - where we point a camera up toward the sky or something. So I'll ignore that situation heheh. But I wouldn't be surprised if some phones will provide 3 dimension information along with the meta-data.

Last edited by SouthPark; 03-02-2021 at 05:43 PM..
Reply With Quote
Old 03-02-2021, 05:00 PM
SADE2020's Avatar
SADE2020 SADE2020 is offline
Senior Member

Join Date: Dec 2020
Location: Palma de Mallorca
Age: 48
Posts: 374
Help...attachments odd problem w rotation Female

Omg... It is one of the Off issues of this forum, everything else is fantastic. But I look into the app @duftyoldman mentioned... Thanks
Reply With Quote
Old 05-24-2021, 05:30 PM
Roberta's Avatar
Roberta Roberta is offline
Super Moderator

Join Date: Jun 2008
Zone: 10a
Location: Coastal southern California, USA
Posts: 7,208
Help...attachments odd problem w rotation Female

I have found that I can just open the file in a photo editor (I like Irfanview when I don't want to mess with Photoshop) Then instead of hitting "save" chose "save as" - the same file name. That seems to be just as effective at resetting the metadata as manipulating the photo when it doesn't otherwise need it.
"Extraordinary claims require extraordinary evidence" Carl Sagan

Roberta's Orchids (Visit my back yard)

What's blooming for Southern California Species hobbyists (New page for July 2021)
Reply With Quote


pic, post, preview, rotate, vertical

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question - Root Rot Problem: Has anyone in the U.S. bought from jenmonkey Beginner Discussion 11 07-27-2010 12:04 PM
I have a problem with orchid board site veekay Orchid Lounge 2 07-25-2010 09:43 PM
Dendrobium problem VickiC Pests & Diseases 4 07-11-2010 11:06 PM
Phalaenopsis Problem, I think... fturner Beginner Discussion 16 04-21-2010 11:27 AM
Problem with some roots turning black in S/H Linnie Semi-Hydroponic Culture 13 11-19-2006 06:59 PM

All times are GMT -4. The time now is 05:22 PM.

© 2007
Search Engine Optimisation provided by DragonByte SEO v2.0.37 (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.

Clubs vBulletin Plugins by Drive Thru Online, Inc.