From 409d15c62462dbd4e9ca985043e13e545def7267 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Mon, 24 Aug 2015 21:48:38 +0100 Subject: [PATCH] Support EXIF Orientation removal in libvips v8.1.0 See #189 and jcupitt/libvips@fbe321e --- src/common.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.cc b/src/common.cc index f024c569..324d6ab6 100755 --- a/src/common.cc +++ b/src/common.cc @@ -164,7 +164,7 @@ namespace sharp { Remove EXIF Orientation from image. */ void RemoveExifOrientation(VipsImage *image) { - vips_image_remove(image, EXIF_IFD0_ORIENTATION); + SetExifOrientation(image, 0); } /*