Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to save image in fabruc js json

fabric.Image.prototype.toObject = (function(toObject) {
  return function() {
    return fabric.util.object.extend(toObject.call(this), {
      src: this.toDataURL()
    });
  };
})(fabric.Image.prototype.toObject);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #save #image #fabruc #js #json
ADD COMMENT
Topic
Name
9+4 =