I'm trying to find a way to get out the rgb values from every pixel in an image. If I had a 3x3 image, what i'm trying to get as an output is something like this:
{
"0-0": [125,222,0],
"0-1": [125,222,0],
"0-2": [125,222,0],
"1-0": [125,222,0],
"1-1": [125,222,0],
"1-2": [125,222,0],
"2-0": [125,222,0],
"2-1": [125,222,0],
"2-2": [125,222,0]
}
I know this a kinda vague question that will propbly be flagged but imma throw it there.
Thanks and cheers