Closed messyidea closed 5 years ago
Hi,
Most probably, the image contains the EXIF orientation tag. Try opening it with the AutoOrientation
option (https://godoc.org/github.com/disintegration/imaging#AutoOrientation), e.g.:
src, err := imaging.Open("test.jpg", imaging.AutoOrientation(true))
It's okey now, thanks
rotate.zip
Hi, you can try to use this code, the image was rotate 90 when use Rotate180 function