Example #1
0
def decodePILimage(PILimage):
    image = sim.to_rectangle(PILimage)
    return decode(image)
def unscramblePILimage(PILimage):
    image = sim.to_rectangle(PILimage)
    return sim.to_flat(unscramble(image))
Example #3
0
def encodePILimage(PILimage, message):
    image = sim.to_rectangle(PILimage)
    output = encode(image, message)
    return sim.to_flat(output)