MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / getImg

Method getImg

ui/media/js/image-editor.js:640–643  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

638 this.hide()
639 }
640 getImg() {
641 // a drop-in replacement of the drawingboard version
642 return this.layers.drawing.canvas.toDataURL()
643 }
644 setImg(dataUrl) {
645 // a drop-in replacement of the drawingboard version
646 var image = new Image()

Callers 2

dnd.jsFile · 0.80
getCurrentUserRequestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected