gamma=PNG_MAX_UINT;
gamma=PNG_UINT_31_MAX;
png_set_gAMA_fixed(png_structp png_ptr, png_infop info_ptr, png_fixed_point   int_gamma){   png_fixed_point gamma;   png_debug1(1, "in %s storage function\n", "gAMA");   if (png_ptr == NULL || info_ptr == NULL)      return;   if (int_gamma > (png_fixed_point) PNG_MAX_UINT)   {     png_warning(png_ptr, "Limiting gamma to 21474.83");     gamma=PNG_MAX_UINT;   }   else   {     if (int_gamma < 0)     {       png_warning(png_ptr, "Setting negative gamma to zero");       gamma=0;     }     else       gamma=int_gamma;   }#ifdef PNG_FLOATING_POINT_SUPPORTED   info_ptr->gamma = (float)(gamma/100000.);#endif#ifdef PNG_FIXED_POINT_SUPPORTED   info_ptr->int_gamma = gamma;#endif   info_ptr->valid |= PNG_INFO_gAMA;   if(gamma == 0)      png_warning(png_ptr, "Setting gamma=0");}