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

Method is_gray

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

Source from the content-addressed store, hash-verified

63// ----------------------------------------------------------------------------------------
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; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected