Skip to content

Kind of a 'library' for CSharp (.Net with WPF) on how to rotate images based on the 'orientation' EXIF tag.

License

Notifications You must be signed in to change notification settings

SeppPenner/RotateImagesInCSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RotateImagesInCSharp

Kind of a 'library' for CSharp (.Net with WPF) on how to rotate images based on the 'orientation' EXIF tag.

GitHub issues GitHub forks GitHub stars License: MIT Known Vulnerabilities Blogger Patreon PayPal

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.

Build status

Basic usage

public void Test()
{
    IAutoRotate rotator = new AutoRotate();
    rotator.AutorotateImage(new Bitmap("C:\\Users\\whatever\\Desktop\\abc.jpg"));
} 

Copyright (of the images)

Dave Perrett :: hello@daveperrett.com :: @daveperrett

These images are licensed under the MIT License.

Copyright (c) 2010 Dave Perrett. See License for details.

Change history

See the Changelog.

About

Kind of a 'library' for CSharp (.Net with WPF) on how to rotate images based on the 'orientation' EXIF tag.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages