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

Method bit_depth

dlib/image_loader/png_loader.cpp:158–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 bool png_loader::is_rgb() const { return color_type == PNG_COLOR_TYPE_RGB; }
157 bool png_loader::is_rgba() const { return color_type == PNG_COLOR_TYPE_RGB_ALPHA; }
158 unsigned int png_loader::bit_depth () const {return bit_depth_;}
159 long png_loader::nr() const { return height; }
160 long png_loader::nc() const { return width; }
161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected