Skip to content

Commit

Permalink
Merge pull request #87062 from aaronfranke/exr-grayscale-false
Browse files Browse the repository at this point in the history
Give EXR saving methods a default value of false like the bindings
  • Loading branch information
akien-mga committed Jan 11, 2024
2 parents c5025ea + a120f11 commit ed0be57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/io/image.h
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@ class Image : public Resource {
Error save_jpg(const String &p_path, float p_quality = 0.75) const;
Vector<uint8_t> save_png_to_buffer() const;
Vector<uint8_t> save_jpg_to_buffer(float p_quality = 0.75) const;
Vector<uint8_t> save_exr_to_buffer(bool p_grayscale) const;
Error save_exr(const String &p_path, bool p_grayscale) const;
Vector<uint8_t> save_exr_to_buffer(bool p_grayscale = false) const;
Error save_exr(const String &p_path, bool p_grayscale = false) const;
Error save_webp(const String &p_path, const bool p_lossy = false, const float p_quality = 0.75f) const;
Vector<uint8_t> save_webp_to_buffer(const bool p_lossy = false, const float p_quality = 0.75f) const;

Expand Down

0 comments on commit ed0be57

Please sign in to comment.