Are there any options for detecting changes in fabricJS? I use the following program to save my canvas. Then, when you save it again, I have to determine if there are any changes on the canvas before saving it again. How to do it?
var printImg = canvas.toDataURL({
format: 'png',
multiplier: multi,
left: (canvas.width - maskWidth)/2,
height: maskOriHeight/multi,
width: maskOriWidth/multi
});
source
share