code: def __new__(cls, *args, **kwargs):
      # ensure any lists given as args or kwargs are turned into tuples.
      new_args = []
      for item in args:
          if isinstance(item, list):
              item = tuple(item)
          new_args.append(item)
      new_kwargs = {}
      for k, item in kwargs.items():
          if isinstance(item, list):
              item = tuple(item)
          new_kwargs[k] = item
      return super().__new__(cls, *new_args, **new_kwargs)
  
imports: import collections
  from pathlib import Path
  import numpy
  from PIL import Image
  import shapely.geometry
label_desc: Use image node_id 1 for calling the Img obj's underlying member method code with example usage: obj.__new__(cls) and returns: super