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

summaryrefslogtreecommitdiff
path: root/source/core/StarImageProcessing.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-24 13:06:13 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-24 13:06:13 +1000
commit51a9de3af37eb8a6844a2dd5f3f568f3956726db (patch)
tree66500bbc587a585bfd5490f916239a02d5859769 /source/core/StarImageProcessing.hpp
parent2798d4bf668d74028b5c1f88ae5b7b25cd08de2d (diff)
This is overkill
Diffstat (limited to 'source/core/StarImageProcessing.hpp')
-rw-r--r--source/core/StarImageProcessing.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/StarImageProcessing.hpp b/source/core/StarImageProcessing.hpp
index bcb5936..ac6151e 100644
--- a/source/core/StarImageProcessing.hpp
+++ b/source/core/StarImageProcessing.hpp
@@ -136,6 +136,8 @@ typedef Variant<HueShiftImageOperation, SaturationShiftImageOperation, Brightnes
ImageOperation imageOperationFromString(String const& string);
String imageOperationToString(ImageOperation const& operation);
+void parseImageOperations(String const& params, function<void(ImageOperation&&)> outputter);
+
// Each operation is assumed to be separated by '?', with parameters
// separated by ';' or '='
List<ImageOperation> parseImageOperations(String const& params);
@@ -147,6 +149,8 @@ StringList imageOperationReferences(List<ImageOperation> const& operations);
typedef function<Image const*(String const& refName)> ImageReferenceCallback;
+void processImageOperation(ImageOperation const& operation, Image& input, ImageReferenceCallback refCallback = {});
+
Image processImageOperations(List<ImageOperation> const& operations, Image input, ImageReferenceCallback refCallback = {});
}