how to read .vti files created from stack of 2d PNG Images and render it in vtk.js

Hello Sebastien, it worked, but the volume I am getting is in grey scale and I want color of the image. In vtk python i used luminance = vtk.vtkImageLuminance() and appended it to the image, how can i achieve the same with vtk.js

Best Regards
Saptarshi