已经准备好了名为 canvasInput 和 canvasOutput 的 <canvas> 元素。点击试试看按钮来查看结果。你可以选择另一张图片。你可以在 <textarea> 中更改代码来探索更多。