From 42f7f0894ed4884a0360ca583c955359e1c90e87 Mon Sep 17 00:00:00 2001 From: "K. S. Ernest (iFire) Lee" Date: Thu, 23 Jun 2022 20:55:37 -0700 Subject: Restore the openexr grayscale property. --- core/io/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/io/image.h') diff --git a/core/io/image.h b/core/io/image.h index 10c1156dae..2cad26f3e9 100644 --- a/core/io/image.h +++ b/core/io/image.h @@ -294,7 +294,7 @@ public: Error save_jpg(const String &p_path, float p_quality = 0.75) const; Vector save_png_to_buffer() const; Vector save_jpg_to_buffer(float p_quality = 0.75) const; - Vector save_exr_to_buffer() const; + Vector save_exr_to_buffer(bool p_grayscale) const; Error save_exr(const String &p_path, bool p_grayscale) const; Error save_webp(const String &p_path, const bool p_lossy = false, const float p_quality = 0.75f) const; Vector save_webp_to_buffer(const bool p_lossy = false, const float p_quality = 0.75f) const; -- cgit v1.2.3