Update generate_world_map.bin.py

This commit is contained in:
Erwin Ried 2020-05-10 16:55:27 +02:00
parent f9ec428950
commit 8071760d81

View File

@ -27,7 +27,7 @@ outfile = open('../../sdcard/world_map.bin', 'wb')
# Allow for bigger images # Allow for bigger images
Image.MAX_IMAGE_PIXELS = None Image.MAX_IMAGE_PIXELS = None
im = Image.open("../../sdcard/world_map.jpg") im = Image.open("../../sdcard/ADSB/world_map.jpg")
pix = im.load() pix = im.load()
outfile.write(struct.pack('H', im.size[0])) outfile.write(struct.pack('H', im.size[0]))