code: def generate_pdf(input_file, output_pdf, output_text, options):
      with Image.open(input_file) as im:
          dpi = im.info["dpi"]
          pagesize = im.size[0] / dpi[0], im.size[1] / dpi[1]
      ptsize = pagesize[0] * 72, pagesize[1] * 72
      pdf = pikepdf.new()
      pdf.add_blank_page(page_size=ptsize)
      pdf.save(output_pdf, static_id=True)
      output_text.write_text("")
  
file_path: OCRmyPDF/tests/plugins/tesseract_noop.py
imports: from __future__ import annotations
  import pikepdf
  from PIL import Image
  from ocrmypdf import OcrEngine, OrientationConfidence, hookimpl
label_desc: Use image node_id 8 for calling the NoopOcrEngine obj's underlying member method code with example usage: obj.generate_pdf(input_file, output_pdf, output_text, options) without return types