https://pkg.go.dev/github.com/disintegration/imaging#Rotate Namely the four cardinal multiples of 90 degrees. This transition works best with square frames.