#183 disables PIL decompression bomb protection to allow large ADSB map to be sliced (#184)

This commit is contained in:
dhoetger 2018-06-03 16:13:43 -07:00 committed by Furrtek
parent 5c1ba9b90d
commit e978848c3a

View File

@ -23,6 +23,8 @@ import sys
import struct import struct
from PIL import Image from PIL import Image
Image.MAX_IMAGE_PIXELS = None
outfile = open('../../sdcard/ADSB/world_map.bin', 'wb') outfile = open('../../sdcard/ADSB/world_map.bin', 'wb')
im = Image.open("../../sdcard/ADSB/world_map.jpg") im = Image.open("../../sdcard/ADSB/world_map.jpg")