code: def to_painting(image, saturation=1.4, black=0.006):
      """Transforms any photo into some kind of painting."""
      edges = sobel(image.mean(axis=2))
      darkening = black * (255 * np.dstack(3 * [edges]))
      painting = saturation * image - darkening
      return np.maximum(0, np.minimum(255, painting)).astype("uint8")
  
label_desc: Use image node_id 1 for calling a global function with example usage: to_painting(image, saturation, black) and returns: np