| 4736 | } |
| 4737 | |
| 4738 | static void writeSignature(ucvector* out) |
| 4739 | { |
| 4740 | /*8 bytes PNG signature, aka the magic bytes*/ |
| 4741 | ucvector_push_back(out, 137); |
| 4742 | ucvector_push_back(out, 80); |
| 4743 | ucvector_push_back(out, 78); |
| 4744 | ucvector_push_back(out, 71); |
| 4745 | ucvector_push_back(out, 13); |
| 4746 | ucvector_push_back(out, 10); |
| 4747 | ucvector_push_back(out, 26); |
| 4748 | ucvector_push_back(out, 10); |
| 4749 | } |
| 4750 | |
| 4751 | static unsigned addChunk_IHDR(ucvector* out, unsigned w, unsigned h, |
| 4752 | LodePNGColorType colortype, unsigned bitdepth, unsigned interlace_method) |
no test coverage detected