convert array to pil image code example Example: pillow image from array PIL.Image.fromarray(your_array)