Make it compatible with the latest vips. Fixes #255

This commit is contained in:
Dan Persa 2018-10-19 16:28:19 +02:00
parent 4eb8362deb
commit 98902da9c7
3 changed files with 3 additions and 3 deletions

View file

@ -233,7 +233,7 @@ func vipsRotate(image *C.VipsImage, angle Angle) (*C.VipsImage, error) {
var out *C.VipsImage
defer C.g_object_unref(C.gpointer(image))
err := C.vips_rotate(image, &out, C.int(angle))
err := C.vips_rotate_bimg(image, &out, C.int(angle))
if err != 0 {
return nil, catchVipsError()
}