refactor image/crop encoding

This commit is contained in:
GenevensiS
2026-01-18 18:56:21 +01:00
parent 28d5993fe6
commit d421d0d92b
7 changed files with 242 additions and 174 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
// Rotates an image
// 'Rotater' is a function object that knows how to 'rotate' a pixel coordinate
template <class Rotater>
Image rotate_image_impl(Image img) {
Image rotate_image_impl(const Image& img) {
UInt width = img.GetWidth(), height = img.GetHeight();
// initialize the return image
Image ret;