add "mode" to vips_draw_image()