code: def test_pagepixmap():
      # pixmap from an EPUB page
      doc = fitz.open(epub)
      page = doc[0]
      pix = page.get_pixmap()
      assert pix.irect == page.rect.irect
      pix = page.get_pixmap(alpha=True)
      assert pix.alpha
      assert pix.n == pix.colorspace.n + pix.alpha
  
file_path: pymudf/tests/test_pixmap.py
imports: import fitz
  import os
  import platform
  import sys
  import tempfile
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_pagepixmap() without return types