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

Do you get something reasonable by loading your vti with that example?

If so, you can see how we configure the various parameters based on the array range.

HTH,

Seb