x++;
} while (!iterator.nextPixelDone());
assert (x == gridBounds.x + gridBounds.width);
y++;
}
} while (!iterator.nextLineDone());
assert (y == gridBounds.y + gridBounds.height);
} catch (NoninvertibleTransformException exception) {
throw new IllegalArgumentException(Errors.format(
ErrorKeys.ILLEGAL_ARGUMENT_$1, "context"), exception);
}