ImageType implemented, JPEG added
ImageType modified