Kind of a 'library' for CSharp (.Net with WPF) on how to rotate images based on the 'orientation' EXIF tag.
See here for more information on the EXIF tags used in Windows (.Net).
For C# see also here for another possible implementation.
Example images using each of the EXIF orientation flags (1-to-8), in both landscape and portrait orientations See here.
See here for more information.
public void Test()
{
IAutoRotate rotator = new AutoRotate();
rotator.AutorotateImage(new Bitmap("C:\\Users\\whatever\\Desktop\\abc.jpg"));
}
Dave Perrett :: hello@daveperrett.com :: @daveperrett
These images are licensed under the MIT License.
Copyright (c) 2010 Dave Perrett. See License for details.
See the Changelog.