code: def _testimpl_image_decoder_crop_error_oob(device):
      file_root = os.path.join(test_data_root, good_path, "jpeg")
  
      @pipeline_def(
          batch_size=batch_size_test, device_id=0, num_threads=4
      )
      def pipe(device):
          encoded, _ = fn.readers.file(file_root=file_root)
          decoded = fn.decoders.image_crop(
              encoded, device=device, crop_w=10000, crop_h=100
          )
          return decoded
  
      p = pipe(device)
      p.build()
      assert_raises(
          RuntimeError,
          p.run,
          glob="cropping window*..*..*is not valid for image dimensions*[*x*]",
      )
  
imports: import glob
  import math
  import numpy
  import nvidia.dali.backend
  import nvidia.dali.fn
  import nvidia.dali.types
  import os
  import random
  from nvidia.dali import pipeline_def
  from nose2.tools import params
  from nose_utils import assert_raises
  from test_utils import check_output_pattern
  from test_utils import compare_pipelines
  from test_utils import get_dali_extra_path
  from test_utils import to_array
label_desc: Use image node_id 26 for calling a global function with example usage: _testimpl_image_decoder_crop_error_oob(device) and returns: decoded