<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_image(fname):
 """ read an image from file - PIL doesnt close nicely """

    with open(fname, "rb") as f:
        i = Image.open(fname)
        #i.load()
        return i