Comments on: Correct photo orientation using EXIF data with C# http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/ n. 1: automatic, but with an element of magic. 2: too complex to understand and/or explain Fri, 04 Mar 2016 06:52:31 +0000 hourly 1 By: Cagri Celikbilek http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/#comment-22217 Thu, 07 Jan 2016 21:21:55 +0000 http://dotmac.rationalmind.net/?p=118#comment-22217 thank you David 😉

]]>
By: Magnus Aycox http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/#comment-13221 Wed, 17 Sep 2014 08:41:17 +0000 http://dotmac.rationalmind.net/?p=118#comment-13221 You helped me save a days work providing code and a library able to extract EXIF info from a memory stream. Thanks! =o)

]]>
By: Tasos http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/#comment-5906 Fri, 18 Oct 2013 11:12:12 +0000 http://dotmac.rationalmind.net/?p=118#comment-5906 Thanks for the article, it really helped me. Both the orientation function but also because I found a nice EXIF library for .NET.

]]>
By: bhavik http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/#comment-5795 Tue, 07 May 2013 04:40:06 +0000 http://dotmac.rationalmind.net/?p=118#comment-5795 Hey thanks it helped me alot

]]>
By: Steve http://automagical.rationalmind.net/2009/08/25/correct-photo-orientation-using-exif/#comment-83 Thu, 08 Mar 2012 16:53:21 +0000 http://dotmac.rationalmind.net/?p=118#comment-83 Thanks – this saved me quite a bit of time today.
Reset orientation code did not work for me – what gets written cannot be re-read by EXIFextractor. For me, this works

int propertyId = 0x112;
int propertyLen = 2;
short propertyType = 3;
byte[] propertyValue = { 1, 0 };
exif.setTag(propertyId, propertyLen, propertyType, propertyValue);

HTH

]]>