Skip to content

Macilias/go-images-orientation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This helper builds on top of two libraries:

github.com/disintegration/imaging and github.com/rwcarlsen/goexif/exif

go get -u github.com/disintegration/imaging
go get -u github.com/rwcarlsen/goexif/exif

and provides a function:

func ReadImage(fpath string) *image.Image

which replaces the original image with a copy of referenced image (jpg, png or gif). The replaced copy has all necessary operation, which are needed to reverse its orientation to 1, applied. The result is a image with corrected orientation and without exif data.

About

provides basic support for images orientation for go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages