Digital cameras released over the last few years write information on the orientation of the camera into the metadata of the images recorded. This metadata is currently stored in an Adobe created standard called XMP.
The Storm writes what I interpret as "true" XMP orientation information in accordance with the XMP standard. In an un-biased way, I have to say that it is my observation that the iPhone does NOT write "true" orientation information.
Attached to this post are four screen shots supporting my statement. There are two images from my Storm and two images from a colleagues iPhone. they are named StormH and iPhoneH for the horizontal images and StormV and iPhoneV for the Vertical images.
You will note that the Storm images have the XMP value for orientation specified according to the standard to which I referred earlier, while the iPhone photos do not.
You will also note that X and Y dimensions of the Storm image remain the same regardless of the orientation, as they should, while the iPhone, for lack of a better word... cheats and omits the orientation data and simply swaps the X and Y dimensions to set the orientation.
There is nothing "wrong" with the approach that Apple has taken here since not all consumer level photo applications understand the orientation data. By "hard coding" the orientation by swapping the X and Y dimensions on landscaped images, they "make it work".
So... to SpeakFreak, yes photos uploaded to Facebook from the iPhone will be properly oriented. I think the real failing here though, IMHO, is with Facebook as it should understand the proper XMP orientation data as other sites like Google's Picasa, Flickr and Kodak just to name a few.
I am sure I will draw flames for my comments, but they are in reality unbiased.
With regards,
MrMartyMac
PS - it is getting late and I don't feel like proof reading what I just wrote, so have fun with my possible typos.
PSS - for those actualy interested in challenging me on the XMP information, please refer to
www.adobe.com/devnet/xmp/pdfs/XMPSpecificationPart2.pdf