Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f_l_pixel(pict):
- # @param pict: Picture
- allPix = getPixels(pict)
- print "Colore del primo pixel: ", getColor(getPixel(pict,0,0))
- print "Colore dell'ultimo pixel: ", getColor(getPixel(pict,getWidth(pict)-1,getHeight(pict)-1))
- f_l_pixel(makePicture(pickAFile()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement