The issue behind this and fix is basically the same as #158 but cleans up some of the approaches that led up to this—the big changes are
rolling back some of the logic around calling sharp.rotate() and defaulting to just always calling it because it's designed to bake orientation as needed into the output (in lieu of passthrough metadata) and doing nothing if not needed
adding an image diff test whose failure case demonstrates the need for orientation=3 processing (very common for iPhone photos)
The issue behind this and fix is basically the same as #158 but cleans up some of the approaches that led up to this—the big changes are
sharp.rotate()
and defaulting to just always calling it because it's designed to bake orientation as needed into the output (in lieu of passthrough metadata) and doing nothing if not needed