code: function toHeightMap() {
      if (rasterToGcode.running) {
          return rasterToGcode.abort();
      }
  
      console.log('toHeightMap:', file.name);
      $toHeightMap.text('Abort').addClass('btn-danger');
      $progressBar.removeClass('progress-bar-danger');
      $progressBar.parent().show();
      rasterToGcode.getHeightMap();
  }
docs: To height-map