code: func (i *Image) Dispose() {
  	theImages.remove(i)
  
  	i.image.Dispose()
  	i.image = nil
  	i.basePixels = nil
  	i.drawTrianglesHistory = nil
  	i.stale = false
  }
docs: // Dispose disposes the image.
  //
  // After disposing, calling the function of the image causes unexpected results.