Index: tools/skimage_main.cpp |
diff --git a/tools/skimage_main.cpp b/tools/skimage_main.cpp |
index e5610ea569d16a43054e6194968da892723e4750..3740f0fa079758c2a7739a749732cebafc27fc44 100644 |
--- a/tools/skimage_main.cpp |
+++ b/tools/skimage_main.cpp |
@@ -595,7 +595,7 @@ static void decodeFileAndWrite(const char srcPath[], const SkString* writePath) |
SkBitmap bitmapFromDecodeSubset; |
// FIXME: Come up with a more representative set of rectangles. |
SkIRect rect = generate_random_rect(&rand, width, height); |
- SkString subsetDim = SkStringPrintf("[%d,%d,%d,%d]", rect.fLeft, rect.fTop, |
+ SkString subsetDim = SkStringPrintf("%d_%d_%d_%d", rect.fLeft, rect.fTop, |
epoger
2014/06/02 21:12:29
Sigh. My previous attempt (using parentheses) yie
|
rect.fRight, rect.fBottom); |
if (codec->decodeSubset(&bitmapFromDecodeSubset, rect, gPrefConfig)) { |
SkString subsetName = SkStringPrintf("%s-%s", filename, subsetDim.c_str()); |