code: def _get_orig_and_new_clims(input_dtype):
      new_clim = (0.3, 0.8)
      max_val = max_for_dtype(input_dtype)
      if np.issubdtype(input_dtype, np.integer):
          new_clim = (
              int(new_clim[0] * max_val),
              int(new_clim[1] * max_val),
          )
      return (0, max_val), new_clim
  
file_path: vispy/vispy/visuals/tests/test_image.py
imports: from unittest import mock
  from vispy.scene import Image, PanZoomCamera
  from vispy.testing import requires_application, TestingCanvas, run_tests_if_main, IS_CI
  from vispy.testing.image_tester import assert_image_approved, downsample
  import numpy
  import pytest
  from vispy.testing.rendered_array_tester import compare_render, max_for_dtype
label_desc: Use image node_id 5 for calling a global function with example usage: _get_orig_and_new_clims(input_dtype) and returns: int,  max_val,  new_clim