VTK.JS MultiSliceImageMapper

Hi VTK Support,

I am trying out the vtk.js recently. I did try MultiSliceImageMapper example. I use Microsoft VsCode EDI. I npm start the example and i see the menu range slider controls. I did install html-loader in webpack.config.js file of @kitware. this is my problem.

  1. I debug the example and i can see uncaught error when the example tries to load headsq.vti data. it is complaining about format of data. In HttpDataAccessHelper.js file. it seems that something wron with JSON data.
  2. VM985:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse ()
    at XMLHttpRequest.xhr.onreadystatechange (HttpDataAccessHelper.js:182:1)
    the above error message happens when debugging in the chrome/Edge web browsers.
  3. I have read vtk articles but i am still stuck with this error. my data is standard data headsq.vti.
  4. @Sebastien_Jourdain suggested it may be 8/16 bit data alignment problem.?!
    I only see the slide dialog but the 3D slicer image with three I J K slicers are not visible. I only see a black screen which is because of set background command vtkFullScreenRenderWindow.NewInstance({background(0,0,0)})

all code javascript!

thanks in advance