code: def _open_thumb(
      fn: Path | str,  # A path of an image
      h: int,  # Thumbnail Height
      w: int,  # Thumbnail Width
  ) -> Image:  # `PIL` image to display
      "Opens an image path and returns the thumbnail of the image"
      return Image.open(fn).to_thumb(h, w).convert("RGBA")
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
  from fastcore.parallel import *
  from ipywidgets import HBox, VBox, widgets, Button, Checkbox, Dropdown, Layout, Box, Output, Label, FileUpload
label_desc: Use image node_id 5 for calling a global function with example usage: _open_thumb(fn, h, w) and returns: Image