summaryrefslogtreecommitdiff
path: root/core/io/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/io/image.h')
-rw-r--r--core/io/image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/image.h b/core/io/image.h
index 2cad26f3e9..6b323e5eb3 100644
--- a/core/io/image.h
+++ b/core/io/image.h
@@ -290,6 +290,7 @@ public:
Vector<uint8_t> get_data() const;
Error load(const String &p_path);
+ static Ref<Image> load_from_file(const String &p_path);
Error save_png(const String &p_path) const;
Error save_jpg(const String &p_path, float p_quality = 0.75) const;
Vector<uint8_t> save_png_to_buffer() const;