mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-12 05:42:59 +00:00
slightly enlarge MILB logos to be more readable
This commit is contained in:
@@ -140,8 +140,8 @@ class BaseMiLBManager:
|
|||||||
image = Image.new('RGB', (width, height), color=(0, 0, 0))
|
image = Image.new('RGB', (width, height), color=(0, 0, 0))
|
||||||
|
|
||||||
# Make logos 120% of display dimensions to allow them to extend off screen
|
# Make logos 120% of display dimensions to allow them to extend off screen
|
||||||
max_width = int(width * 1.2)
|
max_width = int(width * 1.3)
|
||||||
max_height = int(height * 1.2)
|
max_height = int(height * 1.3)
|
||||||
|
|
||||||
# Load team logos
|
# Load team logos
|
||||||
away_logo = self._get_team_logo(game_data['away_team'])
|
away_logo = self._get_team_logo(game_data['away_team'])
|
||||||
|
|||||||
Reference in New Issue
Block a user