save header and brush previews in same name folder when exporting ppbr
This commit is contained in:
@@ -24,8 +24,8 @@ public:
|
||||
bool load_file(std::string filename);
|
||||
const uint8_t* data() const { return m_data.get(); }
|
||||
int size() const { return width * height * comp; }
|
||||
bool save_png(const std::string& path);
|
||||
bool save_jpg(const std::string& path, int quality);
|
||||
bool save_png(const std::string& path) const noexcept;
|
||||
bool save_jpg(const std::string& path, int quality) const noexcept;
|
||||
void create(int w, int h, uint8_t* data = nullptr)
|
||||
{
|
||||
width = w;
|
||||
|
||||
Reference in New Issue
Block a user