Fixed scaling for int32

This commit is contained in:
2023-11-21 18:31:07 +01:00
parent 50c070b169
commit b9bf6bf183
3 changed files with 22 additions and 9 deletions
+1
View File
@@ -98,6 +98,7 @@ public:
float thumbAspect() const;
bool pixel(int x, int y, double &r, double &g, double &b) const;
void downscaleTo(uint32_t size);
std::pair<float, float> unitScale() const;
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);