|
CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
|
Implementation of color space analysis and conversion utilities. More...
#include "utils/color_space_utils.h"#include <OpenImageIO/imagebufalgo.h>#include <spdlog/spdlog.h>
Include dependency graph for color_space_utils.cpp:Go to the source code of this file.
Namespaces | |
| namespace | CaptureMoment |
| namespace | CaptureMoment::Core |
| Manages the lifecycle of a single IWorkingImage instance. | |
| namespace | CaptureMoment::Core::Utils |
Functions | |
| std::string | CaptureMoment::Core::Utils::getColorSpace (const OIIO::ImageBuf &buf) noexcept |
| Extracts the color space name from an OIIO image buffer metadata. | |
| bool | CaptureMoment::Core::Utils::isLinearToken (std::string_view colorspace) noexcept |
| Checks whether an OIIO-detected color space token represents linear data. | |
| ColorSpaceInfo | CaptureMoment::Core::Utils::analyzeColorSpace (const OIIO::ImageSpec &spec) noexcept |
| Analyzes whether an image's pixel data is stored in a linear color space. | |
| std::expected< void, ErrorHandling::CoreError > | CaptureMoment::Core::Utils::transformToColorSpace (OIIO::ImageBuf &image, std::string_view target_cs) |
| Converts an image buffer to a target color space (in-place). | |
Implementation of color space analysis and conversion utilities.
Definition in file color_space_utils.cpp.