# Support of new/additional image format ?

**URL:** https://discourse.vtk.org/t/support-of-new-additional-image-format/7524
**Category:** Support
**Created:** [December 30, 2021, 5:41am UTC](https://discourse.vtk.org/t/support-of-new-additional-image-format/7524 "2021-12-30T05:41:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.vtk.org/user_avatar/discourse.vtk.org/nicholas_yue/32/3751_2.png) [@Nicholas\_Yue](https://discourse.vtk.org/u/Nicholas_Yue)
#### Post date: [December 30, 2021, 5:41am UTC](https://discourse.vtk.org/t/support-of-new-additional-image-format/7524/1 "2021-12-30T05:41:32Z")

</div>

Hi,

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

Cheers

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [December 30, 2021, 9:22am UTC](https://discourse.vtk.org/t/support-of-new-additional-image-format/7524/2 "2021-12-30T09:22:52Z")

</div>

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.
