class_docstr: Image object used to store image objects in Aim repository...
  
  Args:
       image (:obj:): pillow `Image` object or `torch.Tensor` or `numpy.array` used to construct `aim.Image`.
       caption (:obj:`str`, optional): Optional image caption. '' by default.
       format (:obj:`str`, optional): Parameter for PIL's .save() method. 'png' by default.
       quality (:obj:`int`, optional): Parameter for PIL's .save() method. 90 by default.
       optimize (:obj:`bool`, optional): Parameter for PIL's .save() method. False by default.
  
       For more information on the format, quality and optimize parameters, refer to PIL documentation.
  
  Example of params to reduce quality of the image:
      format='jpeg',
      optimize=True,
      quality=85
code: def caption(self, value: str):
      self.storage["caption"] = value
  
imports: import logging
  import os.path
  from PIL import Image, ImageSequence
  from io import BytesIO
  from itertools import chain, repeat
  from typing import List
  import numpy
  from aim.sdk.num_utils import inst_has_typename
  from aim.storage.object import CustomObject
  from aim.storage.types import BLOB
label_desc: Use image node_id 3 for calling the Image obj's underlying member method code with example usage: obj.caption(value) without return types