I\'m using canvas to make a badge. To draw the image I used the code :
let image = new Image() image.src = \'imageSource\' image.onload = () => { ctx.draw