Skip to main content

draw_image()

Description#

draws the image on the screen.

Syntax#

draw_image(img)

Parameters#

img

Returns#

None

Example Code#
Python#
#Python code
from zumi.util.screen import Screen
import time
screen=Screen()
path = "/usr/local/lib/python3.5/dist-packages/zumi/util/images/happy1.ppm"
screen.draw_image(screen.path_to_image(path))