module to determine the size of images in several formats
