Flip image according to ROWORDER

This commit is contained in:
2024-01-22 21:30:39 +01:00
parent e5f425ff8d
commit 8c9c1d8d06
3 changed files with 19 additions and 0 deletions
+1
View File
@@ -99,6 +99,7 @@ public:
bool pixel(int x, int y, double &r, double &g, double &b) const;
void resize(uint32_t w, uint32_t h);
std::pair<float, float> unitScale() const;
void flip();
static std::shared_ptr<RawImage> fromPlanar(const RawImage &img);
static std::shared_ptr<RawImage> fromPlanar(const void *pixels, uint32_t w, uint32_t h, uint32_t ch, DataType type);