Advertisement
davide1409

f_l_pixel

Nov 19th, 2019
428
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. def f_l_pixel(pict):
  2. # @param pict: Picture
  3.   allPix = getPixels(pict)
  4.   print "Colore del primo pixel: ", getColor(getPixel(pict,0,0))
  5.   print "Colore dell'ultimo pixel: ", getColor(getPixel(pict,getWidth(pict)-1,getHeight(pict)-1))
  6.  
  7. f_l_pixel(makePicture(pickAFile()))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement