You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Reduce size of logo while increasing font size
From 5633 to 3210 bytes while reducing borders around the text. How: - import MicroPythonOS-logo-black-long.svg into Gimp, rasterized at 266x59 at 130 dpi - crop it to 240x35 px, making sure to have at least 0.5 pixel border around the content to make sure no half-transparent pixels are cut off - export as PNG with maximal compression and all options (like save resolution, save background color) unchecked
This commit is contained in:
BIN
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 5.5 KiB |
@@ -6,7 +6,7 @@ _horizontal_resolution = None
|
||||
_vertical_resolution = None
|
||||
_dpi = None
|
||||
|
||||
logo_url = "M:builtin/res/mipmap-mdpi/MicroPythonOS_logo_white_on_black_240x54.png"
|
||||
logo_url = "M:builtin/res/mipmap-mdpi/MicroPythonOS_logo_white_on_black_240x35.png"
|
||||
|
||||
def init_rootscreen():
|
||||
global _horizontal_resolution, _vertical_resolution, _dpi
|
||||
|
||||
Reference in New Issue
Block a user