This commit is contained in:
Lukas Schulz 2020-12-20 00:21:58 +01:00
parent 2fa15ade39
commit 0ecd95a72c

View file

@ -49,7 +49,7 @@ def get_track():
return image
def showImage(image, offset_x = 0, offset_y = 0):
#image = image.convert('RGB')
image = image.convert('RGB')
width, height = image.size
for x in range(width):
for y in range(height):
@ -76,7 +76,7 @@ def showImage(image, offset_x = 0, offset_y = 0):
def drawCanvas():
canvas = Image.new('RGB', (192, 128), color = 'red')
canvas = canvas.paste(get_track(),(0,0))
canvas.paste(get_track(),(0,0))
showImage(canvas)