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()