Home | History | Annotate | Download | only in etc1tool

Lines Matching refs:png

21 #include <png.h>
47 "\t\t--encode create an ETC1 file from a PNG file.\n");
50 "\t\t--encodeNoHeader create a raw ETC1 data file (without a header) from a PNG file.\n");
52 "\t\t--decode create a PNG file from an ETC1 file.\n");
59 fprintf(stderr, "\twith the apropriate suffix (.pkm or .png).\n");
101 fprintf(stderr, "PNG error: %s\n", message);
105 fprintf(stderr, "PNG warning: %s\n", message);
132 // Read a PNG file into a contiguous buffer.
158 fprintf(stderr, "Could not read PNG header from %s: %d\n", pInput,
164 fprintf(stderr, "%s is not a PNG file.\n", pInput);
170 fprintf(stderr, "Could not initialize png read struct.\n");
231 // Read a PNG file into a contiguous buffer.
415 fprintf(stderr, "Could not initialize PNG library for writing.\n");
564 const char* kDefaultExtension = bEncode ? ".pkm" : ".png";