Lines Matching refs:header

27 The manual and changelog are in the header file "lodepng.h"
55 #define LODEPNG_COMPILE_ALLOCATORS in the header, to disable the ones here and
2078 /*read information from zlib header*/
3950 /*read the information from the header and store it in the LodePNGInfo. return value is error*/
3961 CERROR_RETURN_ERROR(state->error, 27); /*error: the data length is smaller than the length of a PNG header*/
3978 /*read the values given in the header*/
4581 state->error = lodepng_inspect(w, h, state, in, insize); /*reads header and resets other parameters in state->info_png*/
4585 chunk = &in[33]; /*first byte of the first chunk after the header*/
4906 ucvector header;
4907 ucvector_init(&header);
4909 lodepng_add32bitInt(&header, w); /*width*/
4910 lodepng_add32bitInt(&header, h); /*height*/
4911 ucvector_push_back(&header, (unsigned char)bitdepth); /*bit depth*/
4912 ucvector_push_back(&header, (unsigned char)colortype); /*color type*/
4913 ucvector_push_back(&header, 0); /*compression method*/
4914 ucvector_push_back(&header, 0); /*filter method*/
4915 ucvector_push_back(&header, interlace_method); /*interlace method*/
4917 error = addChunk(out, "IHDR", header.data, header.size);
4918 ucvector_cleanup(&header);
5949 case 24: return "invalid FCHECK in zlib header";
5950 case 25: return "invalid compression method in zlib header";
5951 case 26: return "FDICT encountered in zlib header while it's not used for PNG";
5952 case 27: return "PNG file is smaller than a PNG header";
5953 /*Checks the magic file header, the first 8 bytes of the PNG file*/
5955 case 29: return "first chunk is not the header chunk";