Lines Matching defs:text
460 * text string, and (b) issuing it later as a series of chunk data writes.
635 /* Ship the compressed text out via chunk writes */
1530 png_write_tEXt(png_structrp png_ptr, png_const_charp key, png_const_charp text,
1543 if (text == NULL || *text == '\0')
1547 text_len = strlen(text);
1550 png_error(png_ptr, "tEXt: text too long");
1557 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1564 png_write_chunk_data(png_ptr, (png_const_bytep)text, text_len);
1571 /* Write a compressed text chunk */
1573 png_write_zTXt(png_structrp png_ptr, png_const_charp key, png_const_charp text,
1584 png_write_tEXt(png_ptr, key, text, 0);
1601 png_text_compress_init(&comp, (png_const_bytep)text,
1602 text == NULL ? 0 : strlen(text));
1625 png_const_charp lang, png_const_charp lang_key, png_const_charp text)
1660 * contents of the text. PNG-1.0 through PNG-1.2 discourage the use of
1662 * specifies that the text is UTF-8 and this really doesn't require any
1673 if (text == NULL) text = ""; /* may be empty */
1686 png_text_compress_init(&comp, (png_const_bytep)text, strlen(text));
1697 png_error(png_ptr, "iTXt: uncompressed text too long");
1715 png_write_chunk_data(png_ptr, (png_const_bytep)text, comp.output_len);