Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 462 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 462 Bytes

go-fix-orientation Circle CI

Apply Exif orientation tag to pixels.

Installation

go get github.com/minodisk/go-fix-orientation/processor

Usage

r, err := os.Open("path/to/image.jpg")
if err != nil {
  panic(err)
}
fixed, err := processor.Process(r)
if err != nil {
  panic(err)
}