mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 22:43:27 +02:00
savePNG method for Image
This commit is contained in:
@@ -34,6 +34,8 @@ public:
|
||||
static ImagePtr load(std::string file);
|
||||
static ImagePtr loadPNG(const std::string& file);
|
||||
|
||||
void savePNG(const std::string& fileName);
|
||||
|
||||
void overwriteMask(const Color& maskedColor, const Color& insideColor = Color::white, const Color& outsideColor = Color::alpha);
|
||||
void blit(const Point& dest, const ImagePtr& other);
|
||||
void paste(const ImagePtr& other);
|
||||
|
Reference in New Issue
Block a user