"GetRGB(self, int pixel) -> (R,G,B)");
int GetColoursCount() const;
- bool Ok();
+ bool IsOk();
+ %pythoncode { Ok = IsOk }
- %pythoncode { def __nonzero__(self): return self.Ok() }
+ %pythoncode { def __nonzero__(self): return self.IsOk() }
+
+ %property(ColoursCount, GetColoursCount, doc="See `GetColoursCount`");
};