mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Update generate_world_map.bin.py
This commit is contained in:
parent
f9ec428950
commit
8071760d81
@ -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]))
|
||||||
|
Loading…
Reference in New Issue
Block a user