示例#1
0
文件: pngset.c 项目: 15521054523/fis3
void PNGAPI
png_set_cHRM_XYZ(png_const_structrp png_ptr, png_inforp info_ptr, double red_X,
    double red_Y, double red_Z, double green_X, double green_Y, double green_Z,
    double blue_X, double blue_Y, double blue_Z)
{
   png_set_cHRM_XYZ_fixed(png_ptr, info_ptr,
      png_fixed(png_ptr, red_X, "cHRM Red X"),
      png_fixed(png_ptr, red_Y, "cHRM Red Y"),
      png_fixed(png_ptr, red_Z, "cHRM Red Z"),
      png_fixed(png_ptr, green_X, "cHRM Green X"),
      png_fixed(png_ptr, green_Y, "cHRM Green Y"),
      png_fixed(png_ptr, green_Z, "cHRM Green Z"),
      png_fixed(png_ptr, blue_X, "cHRM Blue X"),
      png_fixed(png_ptr, blue_Y, "cHRM Blue Y"),
      png_fixed(png_ptr, blue_Z, "cHRM Blue Z"));
}
示例#2
0
void PNGAPI
png_set_cHRM_XYZ(png_structp png_ptr, png_infop info_ptr, double red_X,
                 double red_Y, double red_Z, double green_X, double green_Y, double green_Z,
                 double blue_X, double blue_Y, double blue_Z)
{
    png_set_cHRM_XYZ_fixed(png_ptr, info_ptr,
                           png_fixed(png_ptr, red_X, "cHRM Red X"),
                           png_fixed(png_ptr, red_Y, "cHRM Red Y"),
                           png_fixed(png_ptr, red_Z, "cHRM Red Z"),
                           png_fixed(png_ptr, green_X, "cHRM Red X"),
                           png_fixed(png_ptr, green_Y, "cHRM Red Y"),
                           png_fixed(png_ptr, green_Z, "cHRM Red Z"),
                           png_fixed(png_ptr, blue_X, "cHRM Red X"),
                           png_fixed(png_ptr, blue_Y, "cHRM Red Y"),
                           png_fixed(png_ptr, blue_Z, "cHRM Red Z"));
}
示例#3
0
文件: pngset.c 项目: 15521054523/fis3
void PNGAPI
png_set_cHRM(png_const_structrp png_ptr, png_inforp info_ptr,
    double white_x, double white_y, double red_x, double red_y,
    double green_x, double green_y, double blue_x, double blue_y)
{
   png_set_cHRM_fixed(png_ptr, info_ptr,
      png_fixed(png_ptr, white_x, "cHRM White X"),
      png_fixed(png_ptr, white_y, "cHRM White Y"),
      png_fixed(png_ptr, red_x, "cHRM Red X"),
      png_fixed(png_ptr, red_y, "cHRM Red Y"),
      png_fixed(png_ptr, green_x, "cHRM Green X"),
      png_fixed(png_ptr, green_y, "cHRM Green Y"),
      png_fixed(png_ptr, blue_x, "cHRM Blue X"),
      png_fixed(png_ptr, blue_y, "cHRM Blue Y"));
}
示例#4
0
文件: pngset.c 项目: 15521054523/fis3
void PNGAPI
png_set_gAMA(png_const_structrp png_ptr, png_inforp info_ptr, double file_gamma)
{
   png_set_gAMA_fixed(png_ptr, info_ptr, png_fixed(png_ptr, file_gamma,
       "png_set_gAMA"));
}