Lines Matching full:this

6 This software is provided 'as-is', without any express or implied
8 arising from the use of this software.
10 Permission is granted to anyone to use this software for any purpose,
14 1. The origin of this software must not be misrepresented; you must not
15 claim that you wrote the original software. If you use this software
22 3. This notice may not be removed or altered from any source
39 compiler command to disable them without modifying this header, e.g.
80 /*Compile the default allocators (C's free, malloc and realloc). If you disable this,
107 /*LCT_MAX_OCTET_VALUE lets the compiler allow this enum to represent any invalid
172 image: The raw pixel data to encode. The size of this buffer should be
196 NOTE: This overwrites existing files without warning!
248 NOTE: This overwrites existing files without warning!
275 /*Maximum decompressed size, beyond this the decoder may (and is encouraged to) stop decoding,
276 return an error, output a data size > max_output_size and all the data up to that point. This is
277 not hard limit nor a guarantee, but can prevent excessive memory usage. This setting is
313 …unsigned nicematch; /*stop searching if >= this length found. Set to 258 for best compression. Def…
337 bits to RGBA colors. This information is the same as used in the PNG file
342 …LodePNGColorType colortype; /*color type, see PNG standard or documentation further in this header…
343 …unsigned bitdepth; /*bits per sample, see PNG standard or documentation further in this header fi…
349 This field may not be allocated directly, use lodepng_color_mode_init first,
355 When decoding, by default you can ignore this palette, since LodePNG already
366This color uses the same bit depth as the bitdepth value in this struct, which can be 1-bit to 16-…
369 When decoding, by default you can ignore this information, since LodePNG sets
370 pixels with this key to transparent already in the raw RGBA output.
380 /*init, cleanup and copy functions to use with this struct*/
405 Loops through the palette to check this.*/
442 This uses the same color mode and bit depth as the PNG (except no alpha channel),
455 When encoding, avoid setting this to an expensive color, such as a non-gray value
459 The decoder does not use this background color to edit the color of pixels. This is a
499 size_t itext_num; /*the amount of international texts in this PNG*/
501 …char** itext_langtags; /*language tag for this text's language, ISO/IEC 646 string, e.g. ISO 639 l…
556 …profile as closely as possible, if you wish to do this you should provide the correct values for g…
562 …enabled (the default), and the ICC profile is not a good match for the pixel data, this will resul…
566 …To avoid this do not set an ICC profile in the image unless there is a good reason for it, and whe…
573 Don't allocate this buffer yourself. Use the init/cleanup functions
591 …above in here, since the encoder will blindly follow this and could then encode an invalid PNG file
593this if you wish to store an ancillary chunk that is not supported by LodePNG (such as sPLT or hIS…
596 Do not allocate or traverse this data yourself. Use the chunk traversing functions declared
597 later, such as lodepng_chunk_next and lodepng_chunk_append, to read/write this struct.
604 /*init, cleanup and copy functions to use with this struct*/
612 void lodepng_clear_text(LodePNGInfo* info); /*use this to clear the texts again after you filled th…
616 void lodepng_clear_itext(LodePNGInfo* info); /*use this to clear the itexts again after you filled …
620 void lodepng_clear_icc(LodePNGInfo* info); /*use this to clear the texts again after you filled the…
626 See the reference manual at the end of this header file to see which color conversions are supporte…
640 Settings for the decoder. This contains settings for the PNG and the Zlib
663 …/* maximum size for decompressed text chunks. If a text chunk's text is larger than this, an error…
664 …unless reading text chunks is disabled or this limit is set higher or disabled. Set to 0 to allow …
668 …/* maximum size for compressed ICC chunks. If the ICC profile is larger than this, an error will b…
669 …0 to allow any size. By default this is a value that prevents ICC profiles that would be much larg…
690 /*Use the filter type that gives smallest Shannon entropy for this scanline. Depending
691 on the image, this is better or worse than minsum.*/
744 /*used if filter_strategy is LFS_PREDEFINED. In that case, this must point to a buffer with
746 have to cleanup this buffer, LodePNG will never free it. Don't forget that filter_palette_zero
747 must be set to 0 to ensure this is also used on palette or low bitdepth images.*/
779 /*init, cleanup and copy functions to use with this struct*/
795 Read the PNG header, but not the actual data. This returns only the information
820 /*This function allocates the out buffer with standard malloc and stores the size in *outsize.*/
889 is no more chunk after this or possibly if the chunk is corrupt.
890 Start this process at the 8th byte of the PNG file.
924 This zlib part can be used independently to zlib compress and decompress a
959 Find length-limited Huffman code for given frequencies. This function is in the
985 Save a file from buffer to disk. Warning, if it exists, this function overwrites
1150 If you want to start using LodePNG right away without reading this doc, get the
1163 This all makes LodePNG suitable for loading textures in games, demos and small
1272 After decoding, this contains extra information of the PNG image, except the actual
1284 the resulting raw image to be. If this is different from the colortype of the
1285 PNG, then the decoder will automatically convert the result. This conversion
1327 When encoding, you use this the opposite way as when decoding: for encoding,
1356 *) auto_convert: when this option is enabled, the encoder will
1367 chunk if force_palette is true. This can used as suggested palette to convert
1371 zTXt chunks use zlib compression on the text. This gives a smaller result on
1388 To be able to do this, LodePNG does conversions from one color mode to another.
1391 palette when the palette doesn't have a required color is not supported. This is
1392 not supported on purpose: this is information loss which requires a color
1401 the color format of the images yourself, you can skip this chapter.
1473 three channels are the same in this case so ignores green and blue). The reason
1477 in it: in this case an error is thrown
1510 significant byte first) in these arrays. This is the opposite order of the
1519 This may mean that, depending on your use case, you may want to convert the big
1520 endian output of LodePNG to little endian with a for loop. This is certainly not
1574 Get the length of the chunk's data. The total chunk length is this length + 12.
1604 Iterate to the next chunk. This works if you have a buffer with consecutive chunks. Note that these
1636 if you set the option settings.remember_unknown_chunks to 1. By default, this
1660 encoder and decoder, this makes a large difference.
1670 LodePNG is developed in gcc so this compiler is natively supported. It gives no
1692 This is not standard C++ and will not be added to the stock LodePNG. You can
1713 This decoder example shows the most basic usage of LodePNG. More complex
1768 state.decoder.ignore_end: ignore missing IEND chunk. May fail if this corruption causes other errors
1825 *) 10 aug 2018: (!) added support for gAMA, cHRM, sRGB and iCCP chunks. This
1865 raw image. For this, autoLeaveOutAlphaChannel replaced by auto_choose_color.
1901 C++ wrapper around this provides an interface almost identical to before.
1905 *) 30 aug 2007: bug fixed which makes this Borland C++ compatible
1951 *) 23 jun 2006: Added SDL example in the documentation in the header, this
1972 LodePNG. If you encounter a PNG image that doesn't work properly with this