code: def alpharemover(image):
      if image.mode != "RGBA":
          return image
      canvas = Image.new("RGBA", image.size, (255, 255, 255, 255))
      canvas.paste(image, mask=image)
      return canvas.convert("RGB")
  
file_path: imagehash/examples/hashimages.py
imports: from __future__ import absolute_import, division, print_function
  import sys
  import numpy
  from PIL import Image
  import imagehash
label_desc: Use image node_id 1 for calling a global function with example usage: alpharemover(image) and returns: canvas, image