037ce3e193
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>
10 lines
184 B
Python
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()
|