# Knald Technologies Documentation

### Site Tools

post_export_actions_1.1

# Differences

This shows you the differences between two versions of the page.

 post_export_actions_1.1 [2016/01/31 23:46]adavies post_export_actions_1.1 [2017/05/23 03:49] (current) Both sides previous revision Previous revision 2016/02/01 01:27 adavies 2016/01/31 23:46 adavies 2016/01/31 23:30 adavies created Next revision Previous revision 2016/02/01 01:27 adavies 2016/01/31 23:46 adavies 2016/01/31 23:30 adavies created Line 1: Line 1: - ====== ​The Export ​Tab ====== + ====== ​Post Export ​Actions ​====== - To access the export settings, click the Export Tab in the GUI. From here you can set up the way Knald exports the created map and change the settings to suit your specific needs. + - [{{https://​s3.amazonaws.com/​docs.knaldtech.com/​docuwiki/​export_tab_knald.png?​nolink|The Export Tab}}] + Post Export Actions are a very powerful post export feature set that allow actions to be executed immediately after exporting your textures. - - ===== The Export Tabs Settings ===== - ---- + [{{https://​s3.amazonaws.com/​docs.knaldtech.com/​docuwiki/​post_export_actions.png?​nolink|Post Export Actions}}] - [{{https://​s3.amazonaws.com/​docs.knaldtech.com/​docuwiki/​export_settings_knald.png?​nolink|Export}}] \\ \\ \\ \\ \\ \\ \\  \\ \\ \\ \\ \\ \\ \\ \\ \\  \\ \\ \\ - **Global ​Export:​** ​Changing these settings will cause the selected ​file type or bit depth to propagate across to all map types, overwriting their default values. + **Enable Post Export ​Actions:** From here you can perform many custom actions immediately after exporting your textures. Actions can be things such as opening ​the exported textures in an image editor of your choice, processing those textures in an external program or running a custom batch file to perform other automated functionality. - **File Format Dropdown:** The file format ​to which the selected map will save. + **Reset Actions:** Resets the Post Export Actions back to the default state. - You can save as the following file types: + **New Post Export Action** A list of available Post Export Actions. - ​* **(*.exr)** - OpenEXR + - * **(*.png)** - Portable Network Graphics + - * **(*.tga)** - Truevision Targa + - * **(*.tiff) (*.tif)** - Tagged Image File Format + - **Bit depth Dropdown:** The bit depth to which the selected map will save. + **Enable Action:** Enables ​the action. - You can save at the following bit depths: + **Down Arrow:** Moves a Post Export Action down in the stack. - ​* **(*.exr)** - OpenEXR + - * 32bit Integer & 16/32bit float. + - * **(*.png)** - Portable Network Graphics + - * 8/16bit Integer. + - * **(*.tga)** - Truevision Targa + - * 8bit Integer. + - * **(*.tiff) (*.tif)** - Tagged Image File Format + - * 8/16bit Integer & 16/32bit float. + - **Export Normal/​Derivative from Color To Normals:** This check box allows you to choose if you would rather export the Normal/​Derivative maps in their pre or post integrated states. + **Up Arrow:** Moves a Post Export Action up in the stack. - **File Path:** The file path to which the selected maps will save. By default the images will save to the Exports folder in the Knald install directory. + **Minus Button:** Removes a Post Export Action. + **Plus Button:** Adds a new Post Export Action. + **Name:** A customisable name for the action. - ===== Post Export Actions ===== + **Image Editor/​Cmd:​** The command to execute. This can be the file path to an image editor, another program, a batch file or simply the valid variables listed below. ​ - ---- + **Advanced:​** Enable advanced functionality - [{{https://s3.amazonaws.com/​docs.knaldtech.com/​docuwiki/​post_export_actions.png?​nolink|Post Export Actions}}] + **Wait For Completion:** When enabled this checkbox forces the current active action to complete before continuing onto the next action in the stack or with Lys. - Post Export Actions are a very powerful post export feature set that allow actions to be executed immediately after exporting your textures. + **Parameters:​** See the list of valid variables below. - Please see the [[post_export_actions|Post Export Actions]] page for more information. + **Working Directory:​** The working directory of the command. See the list of valid variables below. + + + ===== Variables ===== + It is possible to use variables to perform many custom actions immediately after exporting your textures such as: + * Opening the exported textures in an image editor of your choice. + * Processing those textures in an external program + * Running a custom batch file to perform other automated functionality. - ===== Save Export Configuration ===== + - + - ---- + - + - [{{https://​s3.amazonaws.com/​docs.knaldtech.com/​docuwiki/​save_export_knald.png?​nolink|Save Export Configuration}}] + - Save Export Configuration:​ Save the changes you have made to the export settings. + Valid variables include ​the following:​ + * **%ofn%** - Output File Name (eg: outfile.png) + * **%ofb%** - Output File Name Base (eg: outfile) + * **%ofp%** - Output File Path (eg: c:​\path_to_outfile) + * **%ofe%** - Output File Extension (eg: png) + * **%ifn%** - Input File Name (eg: inputfile.tga) + * **%ifb%** - Input File Name Base (eg: inputfile) + * **%ifp%** - Input File Path (eg: c:​\path_to_inputfile) + * **%ife%** - Input File Extension (eg: tga)
post_export_actions_1.1.txt · Last modified: 2017/05/23 03:49 (external edit)