Filter to detect exif rotation and correct it