WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
ImageFrame Struct Reference

#include <webcface/common/internal/message/image.h>

Inheritance diagram for ImageFrame:
[legend]

Public Member Functions

bool empty () const
 
unsigned char * rawPtr () const
 
std::size_t rawSize () const
 

Public Attributes

int width_ = 0
 
int height_ = 0
 
std::shared_ptr< std::vector< unsigned char > > data_
 
ImageColorMode color_mode_ = ImageColorMode::gray
 
ImageCompressMode cmp_mode_ = ImageCompressMode::raw
 

Member Function Documentation

◆ empty()

bool empty ( ) const
inline

◆ rawPtr()

unsigned char * rawPtr ( ) const
inline

◆ rawSize()

std::size_t rawSize ( ) const
inline

Member Data Documentation

◆ cmp_mode_

◆ color_mode_

◆ data_

std::shared_ptr<std::vector<unsigned char> > data_

◆ height_

int height_ = 0

◆ width_

int width_ = 0

The documentation for this struct was generated from the following file: