class_docstr: Simple representation of an image file path.
class_docstr_tok: ["Simple","representation","of","an","image","file","path","."]
docstr: Construct ImageFile.
docstr_tok: ["Construct","ImageFile","."]
code: def __init__(self, dirname, basename):
      """Construct ImageFile."""
      self.basename = basename
      self.dirname = dirname
      self.extension = Path(basename).suffix[1:]
  
imports: import doctest
  import os
  from os.path import relpath
  from pathlib import Path
  import re
  import shutil
  import textwrap
  import traceback
  from docutils.parsers.rst import Directive, directives
  from docutils.parsers.rst.directives.images import Image
  import jinja2
  import pyvista
label_desc: Use image node_id 1 to create a new ImageFile object  with example: obj = ImageFile(dirname, basename)