

def resize(self, maxwidth, path_in, path_out=None):
    'Manipulate an image file according to the method, returning a\n        new path. For PIL or IMAGEMAGIC methods, resizes the image to a\n        temporary file. For WEBPROXY, returns `path_in` unmodified.\n        '
    if self.local:
        func = BACKEND_FUNCS[self.method[0]]
        return func(maxwidth, path_in, path_out)
    else:
        return path_in

dataset/ETHPy150Open beetbox/beets/beets/util/artresizer.py ArtResizer.resize/original