code: def test_image(red_green):
      """Read a red image with black background"""
      with rasterio.Env():
          with rasterio.open(str(red_green.join("red.tif"))) as src:
              data = src.read(
                  boundless=True,
                  window=Window(
                      -src.width,
                      -src.height,
                      src.width * 3,
                      src.height * 3,
                  ),
              )
              image = numpy.moveaxis(data, 0, -1)
              assert image[63, 63, 0] == 0
              assert image[64, 64, 0] == 204
  
imports: from affine import Affine
  import shutil
  from hypothesis import example, given
  import hypothesis.strategies
  import numpy
  from numpy.testing import assert_almost_equal
  import pytest
  import rasterio
  from rasterio.io import MemoryFile
  from rasterio.windows import Window
label_desc: Use image node_id 4 for calling a global function with example usage: test_image(red_green) without return types