Added create image option to the draw command and render command.