[SOLVED] Image() nullPtrException

def setup():
    size(500, 500)
    noLoop()

    global img
    img = loadImage('defect_walk0001.png')


def draw():
    background(0)
    image(img, 100, 100)
1 Like