summaryrefslogtreecommitdiff
path: root/drivers/png/resource_saver_png.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/png/resource_saver_png.h')
-rw-r--r--drivers/png/resource_saver_png.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/png/resource_saver_png.h b/drivers/png/resource_saver_png.h
index 7da50150e2..116d425d24 100644
--- a/drivers/png/resource_saver_png.h
+++ b/drivers/png/resource_saver_png.h
@@ -6,9 +6,13 @@
class ResourceSaverPNG : public ResourceFormatSaver {
public:
+ static Error save_image(const String &p_path, Image& p_img);
+
virtual Error save(const String &p_path,const RES& p_resource,uint32_t p_flags=0);
virtual bool recognize(const RES& p_resource) const;
virtual void get_recognized_extensions(const RES& p_resource,List<String> *p_extensions) const;
+
+ ResourceSaverPNG();
};