def __init__(self, output_path, filename_prefix, progressive=False, quality=85): Saver.__init__(self, 'jpg', output_path, filename_prefix) self.progressive = progressive self.quality = quality self.output_path = output_path
def __init__(self, output_path, filename_prefix): Saver.__init__(self, 'png', output_path, filename_prefix)