mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 21:51:45 +00:00
Reduce insert_splash_screen processing time with python3 from ~1m20s to ~0.6s
This commit is contained in:
parent
98f438e742
commit
273206f314
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ def convert_image(image_fn):
|
|||
assert w == 720
|
||||
assert h == 1280
|
||||
splash = splash.convert('RGBA')
|
||||
splash_bin = b''
|
||||
splash_bin = bytearray()
|
||||
for row in range(SPLASH_SCREEN_WIDTH):
|
||||
for col in range(SPLASH_SCREEN_HEIGHT):
|
||||
r, g, b, a = splash.getpixel((col, row))
|
||||
|
|
Loading…
Reference in a new issue