Support EXIF Orientation removal in libvips v8.1.0

See #189 and jcupitt/libvips@fbe321e
This commit is contained in:
Lovell Fuller 2015-08-24 21:48:38 +01:00
parent ce22388c3b
commit 409d15c624

View File

@ -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);
}
/*