Within each pixel is an RGBA value that we can represent with a struct, thereby defining our image in memory as an array of structs.

Illustration of an RGBA struct within a single pixel.

(Page 2)