Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pil image from numpy

from PIL import Image

PIL_image = Image.fromarray(numpy_image.astype('uint8'), 'RGB')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pil #image #numpy
ADD COMMENT
Topic
Name
3+2 =