mirror of
https://github.com/lovell/sharp.git
synced 2026-02-16 03:16:16 +01:00
Ensure auto-rotation works with shrink-on-load #3352
Fixes regression in 0.31.0
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user