Takes base64 string encoded image data and returns a Promise of an Image.

Example

// Here we assume that someBase64ImageString contains a base-64 encoded image
var ImageTools = require("FuseJS/ImageTools");
ImageTools.getImageFromBase64(someBase64ImageString);
    .then(function(image) {
        console.log("Scratch path of image is " + image.path);
    });

Location

Namespace
Fuse.ImageTools
Package
Fuse.ImageTools 1.9.0

Returns

Promise

a Promise of an Image