Files
planeMapper/src/planemapper/renderer/basemap.py
T
Matt Edholm 037ce3e193 Implement story 2.2: coordinate projection and base map loading
Add MapBounds dataclass and equirectangular project() function in
projection.py, basemap.load() forcing pixels into memory via .copy(),
and full test coverage for both modules (4 new tests). All quality
gates pass: 67 tests, ruff clean.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 23:10:38 -04:00

10 lines
184 B
Python

from __future__ import annotations
from PIL import Image
from planemapper.constants import BACKGROUND_PATH
def load() -> Image.Image:
return Image.open(BACKGROUND_PATH).copy()