My goal is to read a PNG file, change the pixel values and store the updated PNG file using libpng.
I wrote two functions called read_png and write
read_png
write