const img = new Image(); canvasContent.drawImage(img, canvas.width/2 - img.width/2, canvas.height/2 - img.height/2 );