# Storing Meta data with a vtk file

**URL:** https://discourse.vtk.org/t/storing-meta-data-with-a-vtk-file/4373
**Category:** Support
**Created:** [October 7, 2020, 2:58pm UTC](https://discourse.vtk.org/t/storing-meta-data-with-a-vtk-file/4373 "2020-10-07T14:58:00Z")
**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: [October 7, 2020, 3:20pm UTC](https://discourse.vtk.org/t/storing-meta-data-with-a-vtk-file/4373/2 "2020-10-07T15:20:30Z")

</div>

You can save metadata in field data. See some more details in this post:

> [@Any way to insert comments in a file created by vtkXMLImageDataWriter](https://discourse.vtk.org/t/any-way-to-insert-comments-in-a-file-created-by-vtkxmlimagedatawriter/161/2):
>
> 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/storing-meta-data-with-a-vtk-file/4373)._
