This commit is contained in:
Rehtt 2021-06-22 11:09:31 +08:00
parent 495ea58962
commit 14cdd61215

View file

@ -71,6 +71,7 @@ def main():
else:
newbg.paste(image, (int((mode.WIDTH/2)-(w/2)), 0))
image = newbg.copy()
crop = False
if crop:
x = (image.width - mode.WIDTH) / 2
y = (image.height - mode.HEIGHT) / 2