Open lyh-ADT opened 4 years ago
You should fill your canvas background at first.
var ctx = canvas.getContext("2d")
ctx.fillStyle = '#FFF'
ctx.fillRect(0, 0, canvas.width, canvas.height)
ctx.fillText("sample-text", 0, 60)
gif.addFrame( ctx, {copy: true, delay: 20})
gif.render()
I read the #107 but I am using canvas which dose not have a onload event... Did I do something wrong?