for (pass = 0; pass < number_passes; pass++)
for (y = 0; y < height; y++) {
png_read_row(png_ptr,(png_bytep) &(im->data[channels*width*y]), NULL);
- mm_log((1, "pass = %d, row %d\n", pass, y));
}
/* read rest of file, and get additional chunks in info_ptr - REQUIRED */
- mm_log((1,"FOO!\n"));
-
png_read_end(png_ptr, info_ptr);
/* clean up after the read, and free any memory allocated - REQUIRED */
png_destroy_read_struct(&png_ptr, &info_ptr, (png_infopp)NULL);