Added integer API for setting Image pixels.