def METHOD_NAME(file_path, size):
    """
    Resize given picture
    """
    im = Image.open(file_path)
    im = im.METHOD_NAME(size, Image.Resampling.LANCZOS)
    if im.mode == "CMYK":
        im = im.convert("RGB")
    im.save(file_path, "PNG")
    return file_path