diff options
Diffstat (limited to 'core/image.h')
-rw-r--r-- | core/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/image.h b/core/image.h index 4461e97144..a155823af7 100644 --- a/core/image.h +++ b/core/image.h @@ -87,6 +87,7 @@ public: FORMAT_MAX }; + static const char* format_names[FORMAT_MAX]; enum Interpolation { INTERPOLATE_NEAREST, @@ -352,6 +353,8 @@ public: Image get_rect(const Rect2& p_area) const; static void set_compress_bc_func(void (*p_compress_func)(Image *)); + static String get_format_name(Format p_format); + Image(const uint8_t* p_mem_png, int p_len=-1); Image(const char **p_xpm); ~Image(); |