evanw / glfx.js

An image effects library for JavaScript using WebGL
https://evanw.github.io/glfx.js/
MIT License
3.26k stars 402 forks source link

Add export canvas method (current rendering result) #61

Open munenari opened 2 years ago

munenari commented 2 years ago

Adds the ability to copy the canvas that has current filter results. Previously I had to work with fx.canvas()._.gl etc. Make it easier to use as canvas.toDataURL('image/jpeg') or blob.

Thank you for the amazing image conversion library.