mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-09 07:28:44 -07:00
Make it compatible with the latest vips. Fixes #255
This commit is contained in:
parent
4eb8362deb
commit
98902da9c7
3 changed files with 3 additions and 3 deletions
2
vips.go
2
vips.go
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue