pil_engine: added smart cropping
pil_engine: handle exif exceptions