use tables.
make a 3d array
- have 12 arrarys in an array (1 for each line)
- have 12 arrays in each of those arrays (for each color3 value)
local Page =
{
{{255,255,255},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}},
{{},{},{},{},{},{},{},{},{},{},{},{}}
}
store your values as shown and then save the whole thing to the data store.
alternatly you could use string handling taking the value of all 144 pixels and concatingating them with a “_” inbetween them perhaps and then saving that string to the datastore this means the picture will be saved in a big serial line that you can split apart and assign each pixel its colour when they want it
if this doesnt make sense feel free to ask questions because i just threw this answer together.