javascript - Can I apply filters to Fabric.js primitives? -


is possible apply image filters primitives, paths, shapes , text? it's kind of weird able them on more complicated images, not able blue rectangle. "cheat" this?

if in fabric.js code, see fabric.js filter feature creating new image original image (i.e. each pixel in new image calculated manually applying filter pixels in original image). thus, fabric.js filter feature applies images.

remember fabric.js provides model on top of canvas element. current standard specs canvas 2d rendering context not support general concept of filters.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -