function getImage (type, canvas, width, height) {

  // TODO add scaling for w / h
  var
    mime = 'image/'+type,
    data = canvas.toDataURL(mime),
    image = new Image();
  image.src = data;
  return image;
}
Removes the selection box from the overlay canvas.