Sets the image size (i.e. columns & rows).