Lines Matching refs:png_error
236 png_error(png_ptr, png_ptr->zstream.msg); in png_text_compress()
238 png_error(png_ptr, "zlib error"); in png_text_compress()
337 png_error(png_ptr, png_ptr->zstream.msg); in png_text_compress()
339 png_error(png_ptr, "zlib error"); in png_text_compress()
416 default: png_error(png_ptr, in png_write_IHDR()
422 png_error(png_ptr, "Invalid bit depth for RGB image"); in png_write_IHDR()
432 default: png_error(png_ptr, "Invalid bit depth for paletted image"); in png_write_IHDR()
437 png_error(png_ptr, "Invalid bit depth for grayscale+alpha image"); in png_write_IHDR()
442 png_error(png_ptr, "Invalid bit depth for RGBA image"); in png_write_IHDR()
446 png_error(png_ptr, "Invalid image color type specified"); in png_write_IHDR()
551 if (ret == Z_VERSION_ERROR) png_error(png_ptr, in png_write_IHDR()
553 if (ret == Z_STREAM_ERROR) png_error(png_ptr, in png_write_IHDR()
555 if (ret == Z_MEM_ERROR) png_error(png_ptr, in png_write_IHDR()
557 png_error(png_ptr, "zlib failed to initialize compressor"); in png_write_IHDR()
592 png_error(png_ptr, "Invalid number of colors in palette"); in png_write_PLTE()
685 png_error(png_ptr, in png_write_IDAT()
1949 png_error(png_ptr, png_ptr->zstream.msg); in png_write_finish_row()
1951 png_error(png_ptr, "zlib error"); in png_write_finish_row()
2793 png_error(png_ptr, png_ptr->zstream.msg); in png_write_filtered_row()
2795 png_error(png_ptr, "zlib error"); in png_write_filtered_row()