Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarImageProcessing.hpp')
-rw-r--r--source/core/StarImageProcessing.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/core/StarImageProcessing.hpp b/source/core/StarImageProcessing.hpp
index 0b78408..ed3319b 100644
--- a/source/core/StarImageProcessing.hpp
+++ b/source/core/StarImageProcessing.hpp
@@ -18,6 +18,10 @@ Image scaleBicubic(Image const& srcImage, Vec2F const& scale);
StringList colorDirectivesFromConfig(JsonArray const& directives);
String paletteSwapDirectivesFromConfig(Json const& swaps);
+struct NullImageOperation {
+
+};
+
struct ErrorImageOperation {
std::exception_ptr exception;
};
@@ -133,7 +137,7 @@ struct FlipImageOperation {
Mode mode;
};
-typedef Variant<ErrorImageOperation, HueShiftImageOperation, SaturationShiftImageOperation, BrightnessMultiplyImageOperation, FadeToColorImageOperation,
+typedef Variant<NullImageOperation, ErrorImageOperation, HueShiftImageOperation, SaturationShiftImageOperation, BrightnessMultiplyImageOperation, FadeToColorImageOperation,
ScanLinesImageOperation, SetColorImageOperation, ColorReplaceImageOperation, AlphaMaskImageOperation, BlendImageOperation,
MultiplyImageOperation, BorderImageOperation, ScaleImageOperation, CropImageOperation, FlipImageOperation> ImageOperation;