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