CaptureMoment 0.1.0
Free and open-source non-destructive photo editor
Loading...
Searching...
No Matches
image_types.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <cstddef>
11#include <cstdint>
12
13namespace CaptureMoment::Core {
14
15namespace Common {
20using ImageDim = std::size_t;
21
26using ImageChan = std::uint8_t;
27
32using ImageCoord = std::int32_t;
33
38using ImageSize = std::size_t;
39
40} // namespace Common
41} // namespace CaptureMoment::Core
std::size_t ImageSize
Type for data size (element count).
Definition image_types.h:38
std::uint8_t ImageChan
Type for channel count.
Definition image_types.h:26
std::int32_t ImageCoord
Type for pixel coordinates (x, y).
Definition image_types.h:32
std::size_t ImageDim
Type for image dimensions (width, height).
Definition image_types.h:20
@ Common
General errors applicable to multiple subsystems.
Manages the lifecycle of a single IWorkingImage instance.
CaptureMoment — footer