code: def add_options(parser):
      parser.add_argument("--grayscale-ocr", action="store_true")
      parser.add_argument("--mono-page", action="store_true")
  
file_path: OCRmyPDF/misc/example_plugin.py
imports: from __future__ import annotations
  import logging
  from PIL import Image
  from ocrmypdf import hookimpl
label_desc: Use image node_id 1 for calling a global function with example usage: add_options(parser) without return types