MCPcopy Create free account
hub / github.com/Loping151/RoverSign / get_waves_bg

Function get_waves_bg

RoverSign/utils/image.py:16–18  ·  view source on GitHub ↗
(w: int, h: int, bg: str = "bg")

Source from the content-addressed store, hash-verified

14
15
16def get_waves_bg(w: int, h: int, bg: str = "bg") -> Image.Image:
17 img = Image.open(TEXT_PATH / f"{bg}.jpg").convert("RGBA")
18 return crop_center_img(img, w, h)
19
20
21def get_crop_waves_bg(w: int, h: int, bg: str = "bg") -> Image.Image:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected