MCPcopy Create free account
hub / github.com/DFHack/dfhack / lodepng_encode32

Function lodepng_encode32

depends/lodepng/lodepng.cpp:6090–6092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6088}
6089
6090unsigned lodepng_encode32(unsigned char** out, size_t* outsize, const unsigned char* image, unsigned w, unsigned h) {
6091 return lodepng_encode_memory(out, outsize, image, w, h, LCT_RGBA, 8);
6092}
6093
6094unsigned lodepng_encode24(unsigned char** out, size_t* outsize, const unsigned char* image, unsigned w, unsigned h) {
6095 return lodepng_encode_memory(out, outsize, image, w, h, LCT_RGB, 8);

Callers

nothing calls this directly

Calls 1

lodepng_encode_memoryFunction · 0.85

Tested by

no test coverage detected