1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-13 13:47:01 +08:00

Add: Mask class

- Copy module/map/ui_mask.png to assets/mask/MASK_MAP_UI.png
This commit is contained in:
LmeSzinc
2020-07-05 23:21:27 +08:00
parent 4ed424fc20
commit f16fda59de
3 changed files with 18 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ class Template:
@property
def image(self):
if self._image is None:
self._image = np.array(Image.open(self.file))
self._image = np.array(Image.open(self.file).convert('RGB'))
return self._image