mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-23 15:01:14 -04:00
Update generate_world_map.bin.py
This commit is contained in:
parent
f9ec428950
commit
8071760d81
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue