code: def get_default_clim_from_dtype(dtype):
      """Get min and max color limits based on the range of the dtype."""
      # assume floating point data is pre-normalized to 0 and 1
      if np.issubdtype(dtype, np.floating):
          return 0, 1
      # assume integer RGBs fill the whole data space
      dtype_info = np.iinfo(dtype)
      dmin = dtype_info.min
      dmax = dtype_info.max
      return dmin, dmax
  
imports: import warnings
  import numpy
  from vispy.gloo.texture import Texture2D, Texture3D, convert_dtype_and_clip
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_clim_from_dtype(dtype) and returns: dmin,  dmax, int,  int