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

Function addChunk_sRGB

depends/lodepng/lodepng.cpp:5346–5349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5344}
5345
5346static unsigned addChunk_sRGB(ucvector* out, const LodePNGInfo* info) {
5347 unsigned char data = info->srgb_intent;
5348 return lodepng_chunk_createv(out, 1, "sRGB", &data);
5349}
5350
5351static unsigned addChunk_iCCP(ucvector* out, const LodePNGInfo* info, LodePNGCompressSettings* zlibsettings) {
5352 unsigned error = 0;

Callers 1

lodepng_encodeFunction · 0.85

Calls 1

lodepng_chunk_createvFunction · 0.85

Tested by

no test coverage detected