mirror of https://github.com/ivanch/tcc.git
17 lines
469 B
Python
17 lines
469 B
Python
from wand.image import Image
|
|
|
|
|
|
class ImageHelper:
|
|
SimpleImage = None
|
|
BigImage = None
|
|
|
|
@staticmethod
|
|
def load_images():
|
|
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() |