EyeAI
Loading...
Searching...
No Matches
ImageUtils.hpp File Reference
#include <cstdint>
Include dependency graph for ImageUtils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

constexpr int color_argb (uint8_t a, uint8_t r, uint8_t g, uint8_t b)
 argb 8888 formatted
 
constexpr int color_rgb (uint8_t r, uint8_t g, uint8_t b)
 argb 8888 formatted
 
constexpr uint8_t red_channel_from_argb_color (int color)
 
constexpr uint8_t green_channel_from_argb_color (int color)
 
constexpr uint8_t blue_channel_from_argb_color (int color)
 

Function Documentation

◆ blue_channel_from_argb_color()

uint8_t blue_channel_from_argb_color ( int color)
constexpr

◆ color_argb()

int color_argb ( uint8_t a,
uint8_t r,
uint8_t g,
uint8_t b )
constexpr

argb 8888 formatted

◆ color_rgb()

int color_rgb ( uint8_t r,
uint8_t g,
uint8_t b )
constexpr

argb 8888 formatted

◆ green_channel_from_argb_color()

uint8_t green_channel_from_argb_color ( int color)
constexpr

◆ red_channel_from_argb_color()

uint8_t red_channel_from_argb_color ( int color)
constexpr