Import colorspace module.
Use ImageOps to do autocontrast.
Remove exif data from database -- can just read it from files on disk.
Do not extract exif tags on-demand -- takes too much time ! Also, remove unused "geo tags".