#include <png.h>
void png_write_row(png_structp png_ptr, png_bytep row);
void png_write_row
Process and write a row of image data. The header information must have been written before the image data can be written.