code: def pixelated_image_file(tmpdir, pixelated_image):
      """
      A basic raster file with a 10x10 array for testing sieve functions.
      Contains data from pixelated_image.
  
      Returns
      -------
  
      string
          Filename of test raster file
      """
      image = pixelated_image
  
      outfilename = str(tmpdir.join("pixelated_image.tif"))
      kwargs = {
          "crs": CRS({"init": "epsg:4326"}),
          "transform": Affine.identity(),
          "count": 1,
          "dtype": rasterio.uint8,
          "driver": "GTiff",
          "width": image.shape[1],
          "height": image.shape[0],
          "nodata": 255,
      }
      with rasterio.open(outfilename, "w", **kwargs) as out:
          out.write(image, indexes=1)
  
      return outfilename
  
imports: import functools
  import operator
  import os
  import shutil
  import sys
  import uuid
  import zipfile
  import affine
  import boto3
  import numpy
  import pytest
  from click.testing import CliRunner
  import rasterio
  import rasterio.env
  from rasterio.coords import BoundingBox
  from rasterio.crs import CRS
  from rasterio.enums import ColorInterp
  from rasterio.env import GDALVersion
  from affine import Affine
label_desc: Use image node_id 23 for calling a global function with example usage: pixelated_image_file(tmpdir, pixelated_image) and returns: outfilename