Lines Matching full:colorspace
120 * 1.6.0: COLORSPACE support controls the writing of these chunks too, and
122 * information * is available in the COLORSPACE. (See
125 * Under certain circumstances the colorspace can be invalidated without
133 if ((info_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) == 0 &&
134 (info_ptr->colorspace.flags & PNG_COLORSPACE_FROM_gAMA) != 0 &&
136 png_write_gAMA_fixed(png_ptr, info_ptr->colorspace.gamma);
145 if ((info_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) == 0 &&
163 if ((info_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) == 0 &&
165 png_write_sRGB(png_ptr, info_ptr->colorspace.rendering_intent);
167 #endif /* COLORSPACE */
176 if ((info_ptr->colorspace.flags & PNG_COLORSPACE_INVALID) == 0 &&
177 (info_ptr->colorspace.flags & PNG_COLORSPACE_FROM_cHRM) != 0 &&
179 png_write_cHRM_fixed(png_ptr, &info_ptr->colorspace.end_points_xy);