whole_func_string: function createImageData(image) {
    const canvas = document.createElement('canvas')
    const ctx = canvas.getContext('2d')
    const width = image.naturalWidth
    const height = image.naturalHeight
  
    canvas.width = width
    canvas.height = height
  
    ctx.drawImage(image, 0, 0)
  
    return ctx.getImageData(0, 0, image.naturalWidth, image.naturalHeight)
  }
func_code_string: function createImageData(image) {
    const canvas = document.createElement('canvas')
    const ctx = canvas.getContext('2d')
    const width = image.naturalWidth
    const height = image.naturalHeight
  
    canvas.width = width
    canvas.height = height
  
    ctx.drawImage(image, 0, 0)
  
    return ctx.getImageData(0, 0, image.naturalWidth, image.naturalHeight)
  }
func_documentation_string: Creates image data from HTML image
  @param {HTMLImageElement} image HTML Image element