我们从Python开源项目中,提取了以下6个代码示例,用于说明如何使用PIL.Image.align_values()。
def align(argument): # This is not callable as self.align. We cannot make it a # staticmethod because we're saving an unbound method in # option_spec below. return directives.choice(argument, Image.align_values)