Add a flag to never output empty images.

This commit is contained in:
Martijn Versteegh
2018-10-31 16:18:29 +01:00
committed by sfan5
parent ac15bacf36
commit ee5b8a9f86
5 changed files with 26 additions and 0 deletions

View File

@ -89,6 +89,7 @@ public:
void printGeometry(const std::string &input);
void setZoom(int zoom);
void setScales(uint flags);
void setDontWriteEmpty(bool f);
private:
void parseColorsStream(std::istream &in);
@ -120,6 +121,7 @@ private:
bool m_drawScale;
bool m_drawAlpha;
bool m_shading;
bool m_dontWriteEmpty;
std::string m_backend;
int m_xBorder, m_yBorder;