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

What are the settings and input data ranges?