Guest User

Untitled

a guest
Feb 19th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. import numpy, Image
  2.  
  3. i = Image.open('lena.jpg')
  4. a = numpy.asarray(i) # a is readonly
  5. i = Image.fromarray(a)
Add Comment
Please, Sign In to add comment