Add load image, Dockerfile e requirements

This commit is contained in:
dede-
2023-09-17 21:55:40 -03:00
parent 74a1a8458e
commit 84df834b82
5 changed files with 88 additions and 22 deletions

View File

@@ -7,9 +7,11 @@ class ImageHelper:
@staticmethod
def load_images():
# ImageHelper.SimpleImage = Image(filename="simpleimage.png")
# ImageHelper.BigImage = Image(filename="bigimage.png")
ImageHelper.SimpleImage = Image(filename="./static/small-image.png")
#ImageHelper.SimpleImage.save(filename="./static/small-image.png")
ImageHelper.BigImage = Image(filename="./static/big-image.png")
#ImageHelper.BigImage.save(filename="./static/big-image.png")
pass
ImageHelper.load_images()
ImageHelper.load_images()