Ensure pipelineColourspace is applied to all inputs #2704

This commit is contained in:
Lovell Fuller
2021-07-14 19:22:31 +01:00
parent 3f6d9d6ee9
commit a9aa55c32d
3 changed files with 22 additions and 8 deletions

View File

@@ -97,6 +97,11 @@ namespace sharp {
*/
VImage Modulate(VImage image, double const brightness, double const saturation, int const hue);
/*
* Ensure the image is in a given colourspace
*/
VImage EnsureColourspace(VImage image, VipsInterpretation colourspace);
} // namespace sharp
#endif // SRC_OPERATIONS_H_