Support of new/additional image format ?


Where and which class should I study if I want to support additional image format in VTK ?


Hi @Nicholas_Yue ,

It mostly depends if your new classes have (new) dependencies or not.

If not, it is fairly simple, you can take a look at vtkTGAReader.cxx, which is one of the modern one.

If it is, you may need to create your own VTK modules using this dependency, you can take a look at IO/GDAL for a simple example on how to handle new dependencies.