Use 16 bits pillow converter instead of python one

Greatly reduce the time needed to read .map files.