Texture Saver | This node saves a texture to file. |
The Texture Saver node provides the possibility to save the content of a texture to an image or a DDS texture file. The File sets the Ventuz URI, which defines the path and file name where the texture should be saved. The image format that is used for saving has to be specified by the file name extension. Supported image formats are currently: PNG, JPG, BMP, TGA, TIF and DDS.
The texture to be saved must be bound to the Source property. Triggering the Save method saves the current state of the texture to file. The events Succeeded and Failed inform about the result of the saving process.
Keep in mind that the path to the file should exist and the file name should be valid. Furthermore Ventuz should have all necessary permissions to write to the specified path. If one of the former conditions is not given, the saving process will fail.