# Any way to insert comments in a file created by vtkXMLImageDataWriter

**URL:** https://discourse.vtk.org/t/any-way-to-insert-comments-in-a-file-created-by-vtkxmlimagedatawriter/161
**Category:** Support
**Created:** [January 28, 2019, 10:40pm UTC](https://discourse.vtk.org/t/any-way-to-insert-comments-in-a-file-created-by-vtkxmlimagedatawriter/161 "2019-01-28T22:40:02Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [January 28, 2019, 11:26pm UTC](https://discourse.vtk.org/t/any-way-to-insert-comments-in-a-file-created-by-vtkxmlimagedatawriter/161/2 "2019-01-28T23:26:53Z")

</div>

In 3D Slicer, we use field data to store additional metadata with meshes. You can read/write using existing VTK API. Search for “fielddata” in [this](https://github.com/Slicer/Slicer/blob/master/Libs/MRML/Core/vtkMRMLSegmentationStorageNode.cxx) file to see examples for reading/writing.

---

_[View the full topic](https://discourse.vtk.org/t/any-way-to-insert-comments-in-a-file-created-by-vtkxmlimagedatawriter/161)._
