Quote:
Originally Posted by Dr. Dave 4u
Wow..your so knowledgable !!!
Are you a software developer yourself?
|
DD ----- I'm not a software developer. Part of our schooling involved some computing, so that helped me to just be able to some intermediate type programming. These days - I think the schools make everybody need to do some programming.
With the orientation information in these phone-pics ...... I forgot to mention that the stored orientation information is based on what the orientation sensor was providing at the time of the shot.
So if the photographer with the cell-phone takes a 'vertical' position shot (with samsung/apple etc logo facing upward), then the stored orientation information will be a code equivalent to 90 degrees
clockwise. Why 90 degrees clockwise? It's because holding the phone with the right-hand long side of the phone pointing upward is the actual 'UP' direction. So holding the phone in the 'general vertical' direction (eg. with the samsung or apple etc. logo facing upward) will make the sensor record a 90 degrees clockwise tilt.
That sort of information is stored within the pic file itself. The information basically tells us which orientation the phone was actually held when the pic was taken. So knowing that information allows software to :
1) 'automatically' display the photo with the 'correct' orientation that us humans want to see. This is done without altering the photo file at all.
OR
2) automatically check the orientation information, and then alter the orientation information in the photo itself - alter it permanently ------ so that the new orientation information will be changed - so that every image viewer will just display the image in the 'correct' orientation.
OR
3) Using a photo editor software like photoshop etc to manually rotate the image ----- rotate it so that it looks 'normal' to us. When the photo-edited image is saved ----- the 'UP' direction will be exactly as we see it with our eyes.