我们从Python开源项目中,提取了以下7个代码示例,用于说明如何使用PIL.ImageFile.parser()。
def load_seek(self, *args, **kwargs): # we can't incrementally load, so force ImageFile.parser to # use our custom load method by defining this method. pass # # --------------------------------------------------------------------