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

Method is_graya

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

Source from the content-addressed store, hash-verified

64
65 bool jxl_loader::is_gray() const { return depth == 1; }
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; };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected