code: def first_page_dimensions(pdf: Path):
      info = pdfinfo.PdfInfo(pdf)
      page0 = info[0]
      return (page0.width_inches, page0.height_inches)
  
imports: from __future__ import annotations
  import platform
  import sys
  from pathlib import Path
  from subprocess import CompletedProcess, run
  import pytest
  from ocrmypdf import api, pdfinfo
  from ocrmypdf._exec import unpaper
  from ocrmypdf._plugin_manager import get_parser_options_plugins
  from ocrmypdf.exceptions import ExitCode
label_desc: Use image node_id 15 for calling a global function with example usage: first_page_dimensions(pdf) and returns: page0,  page0