CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
image_conversion.h
Go to the documentation of this file.
1
9#pragma once
10
11#include "common/image_region.h"
12#include <vector>
13#include <memory>
14
15namespace CaptureMoment::Core {
16
17namespace Utils {
18
24[[nodiscard]] std::unique_ptr<Common::ImageRegion> convert_RGBA_F32_to_RGBA_U8(const Common::ImageRegion& input);
25
26} // namespace Utils
27} // namespace CaptureMoment::Core
Defines the ImageRegion structure for representing pixel buffers in the CaptureMoment Core library.
std::unique_ptr< Common::ImageRegion > convert_RGBA_F32_to_RGBA_U8(const Common::ImageRegion &input)
Converts an RGBA_F32 ImageRegion to a new RGBA_U8 ImageRegion.
Manages the lifecycle of a single IWorkingImage instance.
CaptureMoment — footer