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

Function writeSignature

src/lodepng.cpp:4889–4900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4887}
4888
4889static void writeSignature(ucvector* out)
4890{
4891 /*8 bytes PNG signature, aka the magic bytes*/
4892 ucvector_push_back(out, 137);
4893 ucvector_push_back(out, 80);
4894 ucvector_push_back(out, 78);
4895 ucvector_push_back(out, 71);
4896 ucvector_push_back(out, 13);
4897 ucvector_push_back(out, 10);
4898 ucvector_push_back(out, 26);
4899 ucvector_push_back(out, 10);
4900}
4901
4902static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h,
4903 LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method)

Callers 1

lodepng_encodeFunction · 0.85

Calls 1

ucvector_push_backFunction · 0.85

Tested by

no test coverage detected