File: io.coffee
Defined in: | core |
Constant Summary
- IO =
-
Caman
Method Summary
- ? (void) Caman.prototype.save()
- ? (void) Caman.prototype.browserSave(type = "png")
- ? (void) Caman.prototype.nodeSave(file, overwrite = true)
- ? (void) Caman.prototype.toImage(type) Takes the current canvas data, converts it to Base64, then sets it as the source of a new Image object and returns it.
- ? (void) Caman.prototype.toBase64(type = "png") Base64 encodes the current canvas
Method Details
? (void) Caman.prototype.save()
? (void) Caman.prototype.browserSave(type = "png")
? (void) Caman.prototype.nodeSave(file, overwrite = true)
? (void) Caman.prototype.toImage(type)
Takes the current canvas data, converts it to Base64, then sets it as the source of a new Image object and returns it.
? (void) Caman.prototype.toBase64(type = "png")
Base64 encodes the current canvas