Updated some files
This commit is contained in:
@@ -4,7 +4,7 @@ from PIL import Image
|
||||
import random
|
||||
import pprint
|
||||
|
||||
IMAGE_LENGTH = 16
|
||||
IMAGE_LENGTH = 32
|
||||
NUM_COLOURS = 3
|
||||
|
||||
def generate_array(colours):
|
||||
@@ -33,4 +33,4 @@ if __name__ == "__main__":
|
||||
im.putpixel((i, j), array[i][j])
|
||||
|
||||
im.show()
|
||||
im.save('output.bmp')
|
||||
im.save('output.ico')
|
||||
|
||||
Reference in New Issue
Block a user