| 4887 | } |
| 4888 | |
| 4889 | static 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 | |
| 4902 | static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h, |
| 4903 | LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method) |
no test coverage detected