mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
refactor image/crop encoding
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user