class_docstr: Base class for image file format handlers.
code: def get_format_mimetype(self):
      if self.custom_mimetype:
          return self.custom_mimetype
      if self.format is not None:
          return Image.MIME.get(self.format.upper())
  
imports: import io
  import itertools
  import struct
  import sys
  from .None import Image
  from ._util import is_path
label_desc: Use image node_id 2 for calling the ImageFile obj's underlying member method code with example usage: obj.get_format_mimetype() and returns: self, Image