loadImage.js
function loadImage (file, callback, crossOrigin) {
  if (isPlask) {
    loadImagePlask(file, callback)
  } else {
    loadImageBrowser(file, callback, crossOrigin)
  }
}
function loadImage (file, callback, crossOrigin) {
  if (isPlask) {
    loadImagePlask(file, callback)
  } else {
    loadImageBrowser(file, callback, crossOrigin)
  }
}
function loadImage ( file , callback , crossOrigin ) { if ( isPlask ) { loadImagePlask ( file , callback ) } else { loadImageBrowser ( file , callback , crossOrigin ) } }
Loads a HTML Image from an url in the borwser, SkCanvas from a file in Plask
@param {String} file - url addess (Browser) or file path (Plask)
@param {Function} callback - function(err, image) { }
@param {Error} callback.err - error if any or null
@param {Image|SkCanvas} callback.image - loaded image
Loads a HTML Image from an url in the borwser SkCanvas from a file in Plask