code: def open(filename):
      """
      Load texture from a Quake2 WAL texture file.
  
      By default, a Quake2 standard palette is attached to the texture.
      To override the palette, use the :py:func:`PIL.Image.Image.putpalette()` method.
  
      :param filename: WAL file name, or an opened file handle.
      :returns: An image instance.
      """
      return WalImageFile(filename)
  
imports: from .None import Image, ImageFile
  from ._binary import i32le
label_desc: Use image node_id 1 for calling a global function with example usage: open(filename) and returns: WalImageFile