I am having an array of 64*64 consists of 0 and 1. How do i convert this array to image and save it ?
from PIL import Image
img = Image.fromarray(data , 'RGB') //
img.save('my.png')
img.show()
'Removing RGB is not giving me expected result All 1's array is also giving me black'
The above code is giving me error , i can not convert it, how to convert it if i want to lower resolution image i.e 16*16