WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
image_frame.h File Reference
#include <optional>
#include <vector>
#include <memory>
#include "webcface-config.h"
Include dependency graph for image_frame.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Size
 
class  SizeOption
 
class  ImageFrame
 (ver1.3から追加) 画像データ More...
 

Namespaces

namespace  webcface
 
namespace  webcface::message
 

Typedefs

using ImageBase = ImageFrame
 

Enumerations

enum class  ImageColorMode {
  gray = 0 , bgr = 1 , bgra = 2 , rgb = 3 ,
  rgba = 4
}
 
enum class  ImageCompressMode { raw = 0 , jpeg = 1 , webp = 2 , png = 3 }
 

Functions

Size sizeWH (int width, int height)
 幅 × 高さ でサイズを指定
 
Size sizeHW (int height, int width)
 高さ × 幅 でサイズを指定
 
SizeOption sizeWH (std::optional< int > width, std::optional< int > height)
 幅 × 高さ でサイズを指定
 
SizeOption sizeHW (std::optional< int > height, std::optional< int > width)
 高さ × 幅 でサイズを指定