# Export dicom files colored from preset settings

**URL:** <https://discourse.slicer.org/t/export-dicom-files-colored-from-preset-settings/5244>\
**Category:** Support\
**Tags:** dicom, file-export, virtual-reality, volume-rendering\
**Created:** [January 2, 2019, 2:33am UTC](https://discourse.slicer.org/t/export-dicom-files-colored-from-preset-settings/5244 "2019-01-02T02:33:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 2, 2019, 4:20pm UTC](https://discourse.slicer.org/t/export-dicom-files-colored-from-preset-settings/5244/4 "2019-01-02T16:20:53Z")

</div>

> [@Canube](#):
>
> If I would like to have coloured exports based on the presets, is that possible?

This is discussed extensively here: [Save volume rendering as STL file - #14 by maxabernathy](https://discourse.slicer.org/t/save-volume-rendering-as-stl-file/524/14). In short, volume is saved as is (with single-component scalar values) and you color it using transfer functions (scalar opacity transfer function, scalar color transfer function, and sometimes also gradient opacity transfer function). Transfer functions are saved in a .vp file when you save the scene (simple text file that list number of points in the transfer functions, followed by the point coordinates). You can find information about these transfer functions and how they are used for volume rendering in [VTK textbook](https://lorensen.github.io/VTKExamples/site/VTKBook/07Chapter7/#73-volume-rendering).

---

_[View the full topic](https://discourse.slicer.org/t/export-dicom-files-colored-from-preset-settings/5244)._
