Advertisement
lamiastella

printing pixel values of an image

Jun 15th, 2017
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. from PIL import Image
  2. im = Image.open("000000_depth.png", 'r')
  3. pixel_val = list(im.getdata())
  4. print(pixel_val)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement