stop using brackets within skimage output filenames
authorepoger <epoger@google.com>
Mon, 2 Jun 2014 20:35:22 +0000 (13:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 2 Jun 2014 20:35:22 +0000 (13:35 -0700)
BUG=skia:2634
R=scroggo@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/303263012

tools/skimage_main.cpp

index e5610ea..0e0c219 100644 (file)
@@ -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,
                                                     rect.fRight, rect.fBottom);
                 if (codec->decodeSubset(&bitmapFromDecodeSubset, rect, gPrefConfig)) {
                     SkString subsetName = SkStringPrintf("%s-%s", filename, subsetDim.c_str());