415
416
/* this is just like in the non-progressive case */
417
png_get_IHDR(png_ptr, info_ptr, &mainprog_ptr->width,
418
&mainprog_ptr->height, &bit_depth, &color_type, NULL, NULL, NULL);
418
png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
421
424
/* since we know we've read all of the PNG file's "header" (i.e., up