add number of x and y pix from image size if not in file