def read_image(filename):
    img_data = None
    with open(filename, 'rb') as f:
        img_data = f.read()
    return img_data
def read_image(filename):
    img_data = None
    with open(filename, 'rb') as f:
        img_data = f.read()
    return img_data