code: def save_image(image, name):
      if cv.__version__.split(".")[0] == "3":
          cv.imwrite(name, image)
      else:
          cv.imwrite(
              name,
              image,
              [cv.IMWRITE_TIFF_XDPI, 300, cv.IMWRITE_TIFF_YDPI, 300],
          )
  
file_path: doc-parsr/server/assets/ImageCorrection.py
imports: from __future__ import print_function
  import numpy
  import cv2
  import json
  import math
  from pathlib import Path
  import re
  import os
  import sys
  import subprocess
label_desc: Use image node_id 7 for calling a global function with example usage: save_image(image, name) without return types