Before sharing an image, we may need to rotate it on devices that use EXIF orientation and shrink it on low-memory devices.