module for image manipulation functions

Functions for
- identification of image files.
- creation of thumbnails.
- extraction of XMP data.

This is the image-related code from ddr-local models.
correct number of args for make_convert_cmd. sigh...