1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-11-29 23:07:40 +02:00

Use VIPS_META_ORIENTATION in the latest versions of vips

This commit is contained in:
DarthSim
2019-09-19 19:44:11 +06:00
parent 8e69236b6b
commit 447e53fc4e
3 changed files with 11 additions and 4 deletions

View File

@@ -337,7 +337,7 @@ func (img *vipsImage) Resize(scale float64, hasAlpa bool) error {
}
func (img *vipsImage) Orientation() C.int {
return C.vips_get_exif_orientation(img.VipsImage)
return C.vips_get_orientation(img.VipsImage)
}
func (img *vipsImage) Rotate(angle int) error {