SierraKen,
The greyscale image was created by desaturating the colour image with Gimp. I looked up a greyscale algorithm (which reduces the 'red' channel to 21%, green to 72% and blue to 7%) but all it did was produce a greenish image. Spock looked more like a Martian than a Vulcan.... lol I was spending to much time on this so I opted for the Gimp procedure... Lazy or what? (Rhetorical. Answer not required. lol)
To be able to reproduce the colour of each pixel, the pixel(x,y) array, was used to store the point(x,y) values.
QB64 Help: Point
The POINT function returns the pixel COLOR attribute at a specified graphics coordinate or the current graphic cursor position.
color_attribute% = POINT (column%, row%)
In our case: pixel(x,y) = point(x,y)
Of course, the larger the source image, the greater the size of the array's dimensions.