docstr: Returns image_codec type use by the codec: png or jpeg.
docstr_tok: ["Returns","image_codec","type","use","by","the","codec",":","png","or","jpeg","."]
code: def image_codec(self):
      """Returns image_codec type use by the codec: png or jpeg."""
      return self._image_codec[1:]
  
imports: from abc import abstractmethod
  from io import BytesIO
  import numpy
label_desc: Use image node_id 2 for calling the CompressedImageCodec obj's underlying member method code with example usage: obj.image_codec() and returns: self