1 year ago
#4091
egrees
Reading pixel colors from PNG file without any outsourced lib (Windows 11)
So I'm trying to read PNG file, what I have a problem with is, how to read pixels. I know how to read bytes etc. but i don't know how to recognize which values are resposible for colors. From what I undersand outside of the headers, there are chunk types, first few bytes of a chunk tell how long data will be, but then I don't know which bytes in this data represent colors.
c++
image
byte
png
steganography
0 Answers
Your Answer