Lines Matching refs:ping_info

2207     *ping_info;  in ReadOnePNGImage()  local
2388 ping_info=png_create_info_struct(ping); in ReadOnePNGImage()
2390 if (ping_info == (png_info *) NULL) in ReadOnePNGImage()
2400 png_destroy_read_struct(&ping,&ping_info,(png_info **) NULL); in ReadOnePNGImage()
2413 png_destroy_read_struct(&ping,&ping_info,&end_info); in ReadOnePNGImage()
2592 png_read_info(ping,ping_info); in ReadOnePNGImage()
2594 png_get_IHDR(ping,ping_info,&ping_width,&ping_height, in ReadOnePNGImage()
2630 (void) png_get_tRNS(ping, ping_info, &ping_trans_alpha, &ping_num_trans, in ReadOnePNGImage()
2633 (void) png_get_bKGD(ping, ping_info, &ping_background); in ReadOnePNGImage()
2668 if (png_get_valid(ping,ping_info, PNG_INFO_iCCP)) in ReadOnePNGImage()
2676 if (png_get_valid(ping,ping_info,PNG_INFO_gAMA)) in ReadOnePNGImage()
2684 if (png_get_valid(ping,ping_info,PNG_INFO_cHRM)) in ReadOnePNGImage()
2692 if (ping_found_iCCP != MagickTrue && png_get_valid(ping,ping_info, in ReadOnePNGImage()
2704 png_get_valid(ping,ping_info, PNG_INFO_iCCP)) in ReadOnePNGImage()
2712 if (png_get_valid(ping,ping_info,PNG_INFO_iCCP)) in ReadOnePNGImage()
2731 (void) png_get_iCCP(ping,ping_info,&name,(int *) &compression,&info, in ReadOnePNGImage()
2822 if (ping_found_iCCP==MagickFalse && png_get_valid(ping,ping_info, in ReadOnePNGImage()
2825 if (png_get_sRGB(ping,ping_info,&intent)) in ReadOnePNGImage()
2849 if (!png_get_gAMA(ping,ping_info,&file_gamma)) in ReadOnePNGImage()
2851 png_set_gAMA(ping,ping_info,mng_info->global_gamma); in ReadOnePNGImage()
2853 if (png_get_gAMA(ping,ping_info,&file_gamma)) in ReadOnePNGImage()
2862 if (!png_get_valid(ping,ping_info,PNG_INFO_cHRM)) in ReadOnePNGImage()
2866 (void) png_set_cHRM(ping,ping_info, in ReadOnePNGImage()
2878 if (png_get_valid(ping,ping_info,PNG_INFO_cHRM)) in ReadOnePNGImage()
2880 (void) png_get_cHRM(ping,ping_info, in ReadOnePNGImage()
2920 png_set_sRGB(ping,ping_info, in ReadOnePNGImage()
2931 if (png_get_valid(ping,ping_info,PNG_INFO_oFFs)) in ReadOnePNGImage()
2933 image->page.x=(ssize_t) png_get_x_offset_pixels(ping, ping_info); in ReadOnePNGImage()
2934 image->page.y=(ssize_t) png_get_y_offset_pixels(ping, ping_info); in ReadOnePNGImage()
2944 if (!png_get_valid(ping,ping_info,PNG_INFO_pHYs)) in ReadOnePNGImage()
2948 png_set_pHYs(ping,ping_info, in ReadOnePNGImage()
2958 if (png_get_valid(ping,ping_info,PNG_INFO_pHYs)) in ReadOnePNGImage()
2963 (void) png_get_pHYs(ping,ping_info,&x_resolution,&y_resolution, in ReadOnePNGImage()
2982 if (png_get_valid(ping,ping_info,PNG_INFO_PLTE)) in ReadOnePNGImage()
2987 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors); in ReadOnePNGImage()
2994 png_set_PLTE(ping,ping_info,mng_info->global_plte, in ReadOnePNGImage()
2997 if (!png_get_valid(ping,ping_info,PNG_INFO_tRNS)) in ReadOnePNGImage()
3006 png_set_tRNS(ping,ping_info,mng_info->global_trns, in ReadOnePNGImage()
3015 png_get_valid(ping,ping_info,PNG_INFO_bKGD)) in ReadOnePNGImage()
3024 if (png_get_valid(ping, ping_info, PNG_INFO_bKGD)) in ReadOnePNGImage()
3039 png_set_bKGD(ping,ping_info,&background); in ReadOnePNGImage()
3050 (!png_get_valid(ping,ping_info,PNG_INFO_bKGD))) in ReadOnePNGImage()
3053 if (png_get_valid(ping,ping_info,PNG_INFO_bKGD)) in ReadOnePNGImage()
3109 if ((png_get_valid(ping,ping_info,PNG_INFO_tRNS)) && in ReadOnePNGImage()
3137 png_free_data(ping, ping_info, PNG_FREE_TRNS, 0); in ReadOnePNGImage()
3138 png_set_invalid(ping,ping_info,PNG_INFO_tRNS); in ReadOnePNGImage()
3172 if (!png_get_valid(ping,ping_info,PNG_INFO_sBIT)) in ReadOnePNGImage()
3173 png_set_sBIT(ping,ping_info,&mng_info->global_sbit); in ReadOnePNGImage()
3178 png_read_update_info(ping,ping_info); in ReadOnePNGImage()
3180 ping_rowbytes=png_get_rowbytes(ping,ping_info); in ReadOnePNGImage()
3292 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors); in ReadOnePNGImage()
3314 (void) png_get_PLTE(ping,ping_info,&palette,&number_colors); in ReadOnePNGImage()
3377 read_tIME_chunk(image,ping,ping_info,exception); in ReadOnePNGImage()
3380 read_eXIf_chunk(image,ping,ping_info,exception); in ReadOnePNGImage()
3395 if (png_get_valid(ping,ping_info,PNG_INFO_tRNS)) in ReadOnePNGImage()
3400 (png_get_valid(ping,ping_info,PNG_INFO_tRNS))) ? in ReadOnePNGImage()
3407 png_destroy_read_struct(&ping,&ping_info,&end_info); in ReadOnePNGImage()
3429 png_destroy_read_struct(&ping,&ping_info,&end_info); in ReadOnePNGImage()
3477 (png_get_valid(ping,ping_info,PNG_INFO_tRNS))) ? in ReadOnePNGImage()
3792 png_destroy_read_struct(&ping,&ping_info,&end_info); in ReadOnePNGImage()
3806 if (png_get_valid(ping,ping_info,PNG_INFO_tRNS)) in ReadOnePNGImage()
3896 status = png_get_text(ping,ping_info,&text,&num_text) != 0 ? in ReadOnePNGImage()
3955 if (!png_get_valid(ping,ping_info,PNG_INFO_pHYs) || in ReadOnePNGImage()
4045 if (png_get_valid(ping,ping_info,PNG_INFO_PLTE)) in ReadOnePNGImage()
4053 png_get_PLTE(ping,ping_info,&plte,&number_colors); in ReadOnePNGImage()
4074 (png_get_valid(ping,ping_info,PNG_INFO_tRNS))) ? in ReadOnePNGImage()
4135 if (png_get_valid(ping,ping_info,PNG_INFO_bKGD)) in ReadOnePNGImage()
4151 if (png_get_valid(ping,ping_info,PNG_INFO_tRNS)) in ReadOnePNGImage()
4177 if (png_get_valid(ping,ping_info,PNG_INFO_pHYs)) in ReadOnePNGImage()
4188 if (png_get_valid(ping,ping_info,PNG_INFO_oFFs)) in ReadOnePNGImage()
4220 png_destroy_read_struct(&ping,&ping_info,&end_info); in ReadOnePNGImage()
8165 png_info *ping_info, unsigned char *profile_type, unsigned char in Magick_png_write_raw_profile() argument
8250 png_set_text(ping,ping_info,text,1); in Magick_png_write_raw_profile()
8434 *ping_info; in WriteOnePNGImage() local
9894 ping_info=png_create_info_struct(ping); in WriteOnePNGImage()
9896 if (ping_info == (png_info *) NULL) in WriteOnePNGImage()
9914 png_destroy_write_struct(&ping,&ping_info); in WriteOnePNGImage()
11012 png_set_IHDR(ping,ping_info,ping_width,ping_height, in WriteOnePNGImage()
11019 png_set_PLTE(ping,ping_info,palette,number_colors); in WriteOnePNGImage()
11047 (!png_get_valid(ping,ping_info,PNG_INFO_sRGB))) in WriteOnePNGImage()
11070 png_set_iCCP(ping,ping_info,(png_charp) name,0, in WriteOnePNGImage()
11098 Magick_png_write_raw_profile(image_info,ping,ping_info, in WriteOnePNGImage()
11112 png_get_valid(ping,ping_info,PNG_INFO_sRGB))) in WriteOnePNGImage()
11123 (void) png_set_sRGB(ping,ping_info,( in WriteOnePNGImage()
11131 if ((!mng_info->write_mng) || (!png_get_valid(ping,ping_info,PNG_INFO_sRGB))) in WriteOnePNGImage()
11150 png_set_gAMA(ping,ping_info,image->gamma); in WriteOnePNGImage()
11178 png_set_cHRM(ping,ping_info,wp.x,wp.y,rp.x,rp.y,gp.x,gp.y, in WriteOnePNGImage()
11188 png_set_bKGD(ping,ping_info,&ping_background); in WriteOnePNGImage()
11210 png_set_pHYs(ping,ping_info, in WriteOnePNGImage()
11255 write_tIME_chunk(image,ping,ping_info,timestamp,exception); in WriteOnePNGImage()
11268 png_write_info_before_PLTE(ping, ping_info); in WriteOnePNGImage()
11279 (void) png_set_tRNS(ping, ping_info, in WriteOnePNGImage()
11286 (void) png_set_tRNS(ping, ping_info, in WriteOnePNGImage()
11302 png_write_info(ping,ping_info); in WriteOnePNGImage()
11348 png_set_oFFs(ping,ping_info,(png_int_32) image->page.x, in WriteOnePNGImage()
11787 png_set_text(ping,ping_info,text,1); in WriteOnePNGImage()
11858 png_write_end(ping,ping_info); in WriteOnePNGImage()
11906 png_destroy_write_struct(&ping,&ping_info); in WriteOnePNGImage()