Home | History | Annotate | Download | only in libpng

Lines Matching refs:palette

914 /* Write the palette.  We are careful not to trust png_color to be in the
919 png_write_PLTE(png_structrp png_ptr, png_const_colorp palette,
936 png_error(png_ptr, "Invalid number of colors in palette");
941 png_warning(png_ptr, "Invalid number of colors in palette");
960 for (i = 0, pal_ptr = palette; i < num_pal; i++, pal_ptr++)
972 pal_ptr=palette;
1277 /* Loop through each palette entry, writing appropriately */
1500 png_warning(png_ptr, "Invalid background palette index");