if im.exifOrientation == 8 {
            rect := image.Rect(0, 0, im.object.OriginY, im.object.OriginX)
            im.object.Source = im.transform(im.object.Source, rect, im.calcRotateAffine(270.0, 0, float64(im.object.OriginX)), im.getDrawer())
            im.object.OriginX = originY
            im.object.OriginY = originX