docs: def _get_resized_name(image, width, height, crop, namespace):
      """
      Get the name of the resized file when assumed it exists.
      """
      path, name = os.path.split(image.name)
      name_part = "%s/%ix%i" % (namespace, width, height)
      if crop:
          name_part += "_cropped"
  
      return os.path.join(path, name_part, name)