Home | History | Annotate | Download | only in tools

Lines Matching full:writepath

36 DEFINE_string2(writePath, w, "",  "Write rendered images into this directory.");
324 * and a writePath was provided. Behaves differently depending on
335 * @param writePath Parent directory to hold the folders for the PNG files to write. Must
350 static bool write_subset(const char* writePath, const SkString& subsetName,
354 SkASSERT(writePath != NULL);
358 subsetPath.set(writePath);
361 subsetPath = SkOSPath::SkPathJoin(writePath, "subsets");
388 SkString dirExtracted = SkOSPath::SkPathJoin(writePath, "extracted");
481 static void decodeFileAndWrite(const char srcPath[], const SkString* writePath) {
571 if (writePath != NULL) {
572 if (write_bitmap(writePath->c_str(), filename, bitmapAndDigest)) {
614 if (writePath != NULL) {
615 write_subset(writePath->c_str(), subsetName,
669 if (writePath != NULL && type != SkImageEncoder::kPNG_Type) {
672 make_outname(&outPath, writePath->c_str(), filename, suffix_for_type(type));