![example picture for image()](/images/reference/Sketch_image_0.png)
```python
def setup():
global img
# images must be in the "data" directory to load correctly
img = py5.load_image("laDefense.jpg")
def draw():
py5.image(img, 0, 0)
```
![example picture for image()](/images/reference/Sketch_image_1.png)
```python
def setup():
global img
# images must be in the "data" directory to load correctly
img = py5.load_image("laDefense.jpg")
def draw():
py5.image(img, 0, 0)
py5.image(img, 0, 0, py5.width//2, py5.height//2)
```