From 5e4d33c4ab10b6a82290d7b684981bcfc2e52e90 Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 11 Feb 2020 23:50:13 +0100 Subject: [PATCH] don't save temp images --- modules/inky_image.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/inky_image.py b/modules/inky_image.py index aad5bd3..541492d 100644 --- a/modules/inky_image.py +++ b/modules/inky_image.py @@ -120,8 +120,7 @@ if colours != 'bw': palette_im = Image.new('P', (3,1)) palette_im.putpalette(pal * 64) quantized_im = im.quantize(palette=palette_im) - quantized_im.convert('RGB').save(output) - quantized_im.save('/home/pi/Desktop/quan.png') + quantized_im.convert('RGB') """Create buffer for coloured pixels""" buffer1 = numpy.array(quantized_im.convert('RGB'))