Ensure auto-rotation works with shrink-on-load #3352

Fixes regression in 0.31.0
This commit is contained in:
Lovell Fuller
2022-09-07 14:17:40 +01:00
parent f5da147a58
commit fbd4970b57
6 changed files with 24 additions and 5 deletions

View File

@@ -557,6 +557,7 @@ namespace sharp {
VImage RemoveExifOrientation(VImage image) {
VImage copy = image.copy();
copy.remove(VIPS_META_ORIENTATION);
copy.remove("exif-ifd0-Orientation");
return copy;
}