camanjs

CamanJS - change underlying canvas after applying filters/manipulations

人盡茶涼 提交于 2019-11-30 20:52:31
CamanJS is a great library for doing live image manipulation in the browser. I am using Caman on a pre-existing canvas object. I may need to change the image on that canvas if a user goes 'back' to a previous area of my site and then comes forward to the canvas again. Caman appears to cache the first image data it receives and then 'locks' the canvas to its context. Attempts to change the canvas after applying Caman result in no visible change to the canvas. How can we change our canvas data outside of Caman and then re-apply Caman filters? Stephen I emailed Ryan (creator of CamanJS ) and he

CamanJS - change underlying canvas after applying filters/manipulations

僤鯓⒐⒋嵵緔 提交于 2019-11-30 05:01:47
问题 CamanJS is a great library for doing live image manipulation in the browser. I am using Caman on a pre-existing canvas object. I may need to change the image on that canvas if a user goes 'back' to a previous area of my site and then comes forward to the canvas again. Caman appears to cache the first image data it receives and then 'locks' the canvas to its context. Attempts to change the canvas after applying Caman result in no visible change to the canvas. How can we change our canvas data