browser ⟩ canvas ⟩ image
.drawImage() will do nothing if the spicified <img> or <video> is still loading.
<img>
<video>
canvas snapshot
CanvasRenderingContext2D ⟩ .drawImage()
HTMLCanvasElement ⟩ .toDataURL()
Last updated 2 years ago