Add EXIF and rotate for engine

There's a trailing white space in this and other lines (115, 145 and 148), please configure your editor to remove trailing spaces

[Flake8](https://flake8.readthedocs.org/) may be of good help with this :wink: