Question : read bmp picture into a variable

how do I read a .bmp file into a picture?

Answer : read bmp picture into a variable

1:
picture = open("xxx.bmp", "b").read()
Open in New Window Select All
Random Solutions  
 
programming4us programming4us