From e978848c3ac375a843e2c842e51a8082cadead23 Mon Sep 17 00:00:00 2001 From: dhoetger Date: Sun, 3 Jun 2018 16:13:43 -0700 Subject: [PATCH] #183 disables PIL decompression bomb protection to allow large ADSB map to be sliced (#184) --- firmware/tools/adsb_map.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/tools/adsb_map.py b/firmware/tools/adsb_map.py index c5adeb47..bb9b71b0 100755 --- a/firmware/tools/adsb_map.py +++ b/firmware/tools/adsb_map.py @@ -23,6 +23,8 @@ import sys import struct from PIL import Image +Image.MAX_IMAGE_PIXELS = None + outfile = open('../../sdcard/ADSB/world_map.bin', 'wb') im = Image.open("../../sdcard/ADSB/world_map.jpg")