Fix dimensions of greyscale image.