| 4867 | } |
| 4868 | |
| 4869 | static void writeSignature(ucvector* out) |
| 4870 | { |
| 4871 | /*8 bytes PNG signature, aka the magic bytes*/ |
| 4872 | ucvector_push_back(out, 137); |
| 4873 | ucvector_push_back(out, 80); |
| 4874 | ucvector_push_back(out, 78); |
| 4875 | ucvector_push_back(out, 71); |
| 4876 | ucvector_push_back(out, 13); |
| 4877 | ucvector_push_back(out, 10); |
| 4878 | ucvector_push_back(out, 26); |
| 4879 | ucvector_push_back(out, 10); |
| 4880 | } |
| 4881 | |
| 4882 | static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h, |
| 4883 | LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method) |
no test coverage detected