code: def test__process_tb_image_plugin_event(self):
      # Given
      queue = Queue()
      tracker = TensorboardFolderTracker(
          tensorboard_event_folder="dummy", queue=queue
      )
      height, width, channels = 5, 4, 3
      # Note channels is last
      image_np = np.random.randint(
          0, 16, (height, width, channels)
      ).astype(dtype=np.uint8)
      # Create image summary in format of plugin
      plugin_data = SummaryMetadata.PluginData(plugin_name="images")
      smd = SummaryMetadata(
          plugin_data=plugin_data,
      )
      tensor = TensorProto(
          dtype="DT_STRING",
          string_val=[
              f"{height}".encode(encoding="utf_8"),
              f"{width}".encode(encoding="utf_8"),
              tf.image.encode_png(image_np).numpy(),
          ],
          tensor_shape=TensorShapeProto(
              dim=[TensorShapeProto.Dim(size=3)]
          ),
      )
  
      image_summary = Summary(
          value=[
              Summary.Value(
                  tag="test_image", metadata=smd, tensor=tensor
              )
          ]
      )
      event = Event(summary=image_summary)
  
      # When
      tracker._process_tb_event(event)
  
      # Then
      tracked_image = queue.get().value
      original_image = Image(image_np)
      self.assertTrue(isinstance(tracked_image, Image))
      self.assertTrue(tracked_image.size == original_image.size)
      self.assertTrue(images_same_data(tracked_image, original_image))
  
imports: from queue import Queue
  import numpy
  from PIL import ImageChops
  import tensorflow
  from tensorboard.compat.proto.summary_pb2 import SummaryMetadata, Summary
  from tensorboard.compat.proto.tensor_pb2 import TensorProto
  from tensorboard.compat.proto.tensor_shape_pb2 import TensorShapeProto
  from tensorboard.compat.proto.event_pb2 import Event
  from tensorboard.util.tensor_util import make_tensor_proto
  from torch.utils.tensorboard.summary import image, scalar, histogram, histogram_raw
  from aim import Image, Distribution
  from aim.ext.tensorboard_tracker.tracker import TensorboardFolderTracker
  from tests.base import TestBase
label_desc: Use image node_id 2 for calling the TestTensorboardTracker obj's underlying member method code with example usage: obj.test__process_tb_image_plugin_event() without return types