Home | History | Annotate | Download | only in dm

Lines Matching defs:png

38 #include "png.h"
48 "If true, write to FLAGS_writePath[0]/<hash>.png instead of "
49 "to FLAGS_writePath[0]/<config>/<sourceType>/<sourceOptions>/<name>.png");
451 "jpg", "jpeg", "png", "webp",
452 "JPG", "JPEG", "PNG", "WEBP",
590 "jpg", "jpeg", "png", "webp",
591 "JPG", "JPEG", "PNG", "WEBP",
805 png_structp png = png_create_write_struct(PNG_LIBPNG_VER_STRING, nullptr, nullptr, nullptr);
806 if (!png) {
811 png_infop info = png_create_info_struct(png);
813 png_destroy_write_struct(&png, &info);
836 png_set_text(png, info, text, 2);
838 png_init_io(png, f);
839 png_set_IHDR(png, info, (png_uint_32)w, (png_uint_32)h, 8,
842 png_write_info(png, info);
845 png_write_rows(png, &row, 1);
847 png_write_end(png, info);
849 png_destroy_write_struct(&png, &info);
872 // .png encoding are definitely thread safe. This lets us offload that work to CPU threads.
876 // report any errors, and perhaps write out the output: a .png of the bitmap, or a raw stream.
982 // but don't want to dump it out as a .png (or whatever ext is).
1017 fail(SkStringPrintf("Can't encode PNG to %s.\n", path.c_str()));
1125 SkString testResourcePath = GetResourcePath("color_wheel.png");