51 explicit operator bool()
128 const uint8_t identifier,
129 const uint16_t width,
130 const uint16_t height,
135 const std::vector<std::byte> &pixels);
153 uint8_t identifier{};
187 std::vector<std::byte> pixels{};
208 const uint32_t x = {},
209 const uint32_t y = {});
216 using Segment = std::tuple<Coordinate, Coordinate>;
227 std::optional<uint16_t> algorithm{};
234 std::optional<std::string> marketing{};
242 std::optional<CBEFFIdentifier> cbeff{};
251 #ifdef NIST_EXTERN_FRIF_API_VERSION
271 static_assert(std::is_same_v<std::underlying_type_t<std::byte>,
272 uint8_t>,
"std::byte not represented as unsigned 8 bit type");
uint16_t API_MINOR_VERSION
API minor version number.
std::tuple< Coordinate, Coordinate > Segment
Line segment.
uint16_t API_PATCH_VERSION
API patch version number.
uint16_t API_MAJOR_VERSION
API major version number.
Pixel location in an image.
bool operator==(const Coordinate &) const
auto operator<=>(const Coordinate &) const
Data and metadata for an image.
BitsPerPixel
Number of bits comprising a single image pixel.
BitsPerChannel
Number of bits comprising a single color channel of a single pixel.
CBEFF information registered with and assigned by IBIA.
Identifying details about algorithm components for documentation.
Information about the result of calling a FRIF API function.
Result result
The result of the operation.
Result
Possible outcomes when performing operations.
@ Success
Successfully performed operation.
@ Failure
Failed to perform operation.
std::optional< std::string > message
Information about the result.