I’ve been trying to make parser that would convert PNG files into three-dimensional arrays (The first two dimensions would be the pixels x and y coords, and the third dimension would be that pixel’s color channel (either R, G, B or A). I’ve had no luck yet and its getting really frustrating and confusing.M aybe some of you guys would have any suggestions for maybe a simpler method of doing this? or if anyone could tell me what i’m doing wrong.
Thanks in advance.
PS: I am still in Secondary School (High School) this is the reason why I may be slow to work on this project, but I do try my best to put some time in every day.