Module to guess necessary info from the header of an image