.. meta:: :description: Extensions LUTs Look-up tables LUTs ==== This section explains how to create and edit Look-Up Tables (LUTs). Usage ----- A LUT is a color map for datasets, MultiROIs and meshes. .. _filesLocationLUTExtension: File location ------------- To be recognized by the application, LUTs should be located in one of these folders: - %LocalAppData%/ORS/Dragonfly(*version*)/pythonUserExtensions/LUTs (available for the current user) - %ProgramData%/ORS/Dragonfly(*version*)/pythonAllUsersExtensions/LUTs (available for all users) - Dragonfly installation folder/resource/lut (distributed with the application) File creation ------------- To create a LUT, start the application, select a dataset (import one if needed), select a LUT from the 2D settings panel or the 3D settings panel, click on the *Edit* button next to that LUT, edit the colors as needed, then press on the *Save...* button. File edition ------------ To modify a created LUT, select that LUT, click on the *Edit* button, do the modifications in the LUT editor, then press on the *Save...* button. Demos ----- Source code example: #. Download the :download:`file `; #. Put that file into a :ref:`LUT extension folder `; #. Start the application; #. Import a dataset; #. Select the LUT *Demo 08 colors inverted* in the 2D settings panel or the 3D settings panel.