MCPcopy Create free account
hub / github.com/davisking/dlib / is_rgba

Method is_rgba

dlib/image_loader/jxl_loader.cpp:68–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 bool jxl_loader::is_graya() const { return depth == 2; };
67 bool jxl_loader::is_rgb() const { return depth == 3; }
68 bool jxl_loader::is_rgba() const { return depth == 4; }
69 unsigned int jxl_loader::bit_depth() const { return bits_per_sample; };
70 long jxl_loader::nr() const { return static_cast<long>(height); };
71 long jxl_loader::nc() const { return static_cast<long>(width); };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected