Updated post here: https://codeyarns.github.io/tech/2014-01-16-how-to-convert-between-numpy-array-and-pil-image.html

Skip to content
# How to convert between NumPy array and PIL Image

##
4 thoughts on “How to convert between NumPy array and PIL Image”

### Leave a Reply

%d bloggers like this:

I am working on Python project involving Tkinter and OpenCV. I stumbled on this trick you used. Thank you very much for sharing.

LikeLike

if i have matrix of [14965,16,32,256] where 14965 is the number of images. I want to save every image in jpg formate to use it in another project, How can i do this?

LikeLike

Sir how do you convert .csv file into image

LikeLike

awesome, this has helped me a lot! thanks

LikeLike