I need to export a HTML canvas to display as an image.
const showImg = () => { setOpen(true); imgData = backgroundRef.current.toDataURL("image/p