stop using brackets within skimage output filenames

BUG=skia:2634
R=scroggo@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/303263012
This commit is contained in:
epoger 2014-06-02 13:35:22 -07:00 committed by Commit bot
parent 12ba2cbb9b
commit f07892413c

View 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());