Official Canvas supports using the Canvas as an Image using context.drawImage.
Is there a possibility to do this with this library?
I'm not specifically asking for it to be added, just the theory behind it with either this library or OpenVG itself. I'd be more than happy working on implementing it myself.
From the MozDocs:
image
An element to draw into the context. The specification permits any canvas image source (CanvasImageSource), such as an HTMLImageElement, an HTMLVideoElement, an HTMLCanvasElement or an ImageBitmap.
I know this isn't an exact implementation, but there's any possibility to emulate this, it would be awesome.
Best,
Sam
Official Canvas supports using the Canvas as an Image using context.drawImage.
Is there a possibility to do this with this library?
I'm not specifically asking for it to be added, just the theory behind it with either this library or OpenVG itself. I'd be more than happy working on implementing it myself.
From the MozDocs:
image
An element to draw into the context. The specification permits any canvas image source (CanvasImageSource), such as an HTMLImageElement, an HTMLVideoElement, an HTMLCanvasElement or an ImageBitmap.
I know this isn't an exact implementation, but there's any possibility to emulate this, it would be awesome.
Best,
Sam