def post_process(self, im): mark = Image.open(self.image.path) return apply_watermark(im, mark, self.style, self.opacity)