4 #include "internal/RGBPixel.h"
7 template <
typename NumberT>
13 constexpr
RGBAPixel(NumberT red = 0, NumberT green = 0, NumberT blue = 0, NumberT alpha = 255)
18 [[nodiscard]]
inline bool operator==(
const RGBAPixel &other)
const {
21 [[nodiscard]]
inline bool operator!=(
const RGBAPixel &other)
const {
22 return !(*
this == other);
26 inline void setGray(NumberT gray, NumberT alpha = 255) {
31 } __attribute__((packed));