Home | History | Annotate | Download | only in lodepng

Lines Matching defs:PLTE

4575   unsigned critical_pos = 1; /*1 = after IHDR, 2 = after PLTE, 3 = after IDAT*/
4624 /*palette chunk (PLTE)*/
4625 else if(lodepng_chunk_type_equals(chunk, "PLTE"))
4927 ucvector PLTE;
4928 ucvector_init(&PLTE);
4932 if(i % 4 != 3) ucvector_push_back(&PLTE, info->palette[i]);
4934 error = addChunk(out, "PLTE", PLTE.data, PLTE.size);
4935 ucvector_cleanup(&PLTE);
5733 /*unknown chunks between IHDR and PLTE*/
5740 /*PLTE*/
5759 /*bKGD (must come between PLTE and the IDAt chunks*/
5764 /*unknown chunks between PLTE and IDAT*/
6001 case 68: return "tried to encode a PLTE chunk with a palette that has less than 1 or more than 256 colors";