mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
🐛 修复制图部分丢失
This commit is contained in:
parent
783928fafa
commit
013b431584
@ -62,6 +62,7 @@ class PMImage:
|
|||||||
|
|
||||||
def convert(self, mode: str):
|
def convert(self, mode: str):
|
||||||
self.image = self.image.convert(mode)
|
self.image = self.image.convert(mode)
|
||||||
|
self.draw = ImageDraw.Draw(self.image)
|
||||||
|
|
||||||
def save(self, path: Union[str, Path], **kwargs):
|
def save(self, path: Union[str, Path], **kwargs):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user