Skip to content

benpate/exiffix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Exiffix

Exiffix is a one function golang library made to be a replacement for image.Decode to handle orientation stored in EXIF data.

exiffix.Decode has mostly the same signature as image.Decode. The difference is that it requires io.ReadSeeker instead of io.Seeker.

Example

file, err := os.Open(path)
if err != nil{
  panic(err)
}
defer file.Close()
img, fmt, err := exiffix.Decode(file)

Special thanks to Macilias: part of code is taken from his repo

About

EXIF orientation correct replacement for golang's image.Decode

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%