pixels[4 * i] = (byte) 255;
pixels[4 * i + 1] = (byte) 255;
pixels[4 * i + 2] = (byte) 255;
pixels[4 * i + 3] = (byte) 0;
}
blankImage.constituteImage(200, 100, "RGBA", pixels);
// Put a red rectangle around the border
DrawInfo drawInfo = new DrawInfo(new ImageInfo());
drawInfo.setPrimitive("Rectangle 10 10 190 90");
drawInfo.setStroke(PixelPacket.queryColorDatabase("red"));