MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lodepng_get_channels

Function lodepng_get_channels

src/lodepng.cpp:2607–2610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2605}
2606
2607unsigned lodepng_get_channels(const LodePNGColorMode* info)
2608{
2609 return getNumColorChannels(info->colortype);
2610}
2611
2612unsigned lodepng_is_greyscale_type(const LodePNGColorMode* info)
2613{

Callers

nothing calls this directly

Calls 1

getNumColorChannelsFunction · 0.85

Tested by

no test coverage detected