Closed gormur closed 5 years ago
When I think about it, the exif extraction should also be extracted to a separate function too. fixOrientation could then just be a one-liner:
$this->applyExifOrientation ($this->exifOrientationValue());
Thanks for contributing
Taking out the bit that actually applies the rotation and putting it in a separate method enables the user to run applyExifOrientation by itself to override the exif tag.