Click or drag to resize

ImageSaveExr Method

Saves the image as an EXR file to path. If grayscale is true and the image has only one channel, it will be saved explicitly as monochrome rather than one red channel. This function will return if Godot was compiled without the TinyEXR module.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error SaveExr(
	string path,
	bool grayscale = false
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.Image.SaveExr(System.String,System.Boolean)"]

grayscale (Optional)
Type: SystemBoolean

[Missing <param name="grayscale"/> documentation for "M:Godot.Image.SaveExr(System.String,System.Boolean)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.Image.SaveExr(System.String,System.Boolean)"]

See Also