Lines Matching full:as

6 This software is provided 'as-is', without any express or implied
19 2. Altered source versions must be plainly marked as such, and must not be
20 misrepresented as being the original software.
38 The "NO_COMPILE" defines are designed to be used to pass as defines to the
135 /*Same as lodepng_decode_memory, but always decodes to 32-bit RGBA raw image*/
139 /*Same as lodepng_decode_memory, but always decodes to 24-bit RGB raw image*/
146 Same as the other decode functions, but instead takes a filename as input.
152 /*Same as lodepng_decode_file, but always decodes to 32-bit RGBA raw image.*/
156 /*Same as lodepng_decode_file, but always decodes to 24-bit RGB raw image.*/
184 /*Same as lodepng_encode_memory, but always encodes from 32-bit RGBA raw image.*/
188 /*Same as lodepng_encode_memory, but always encodes from 24-bit RGB raw image.*/
195 Same as the other encode functions, but instead takes a filename as output.
202 /*Same as lodepng_encode_file, but always encodes from 32-bit RGBA raw image.*/
206 /*Same as lodepng_encode_file, but always encodes from 24-bit RGB raw image.*/
216 /*Same as lodepng_decode_memory, but decodes to an std::vector. The colortype
227 Same as the other decode functions, but instead takes a filename as input.
236 /*Same as lodepng_encode_memory, but encodes to an std::vector. colortype
247 Same as the other encode functions, but instead takes a filename as output.
271 /* Check LodePNGDecoderSettings for more ignorable errors such as ignore_crc */
337 bits to RGBA colors. This information is the same as used in the PNG file
353 The alpha channels must be set as well, set them to 255 for opaque images.
366 …This color uses the same bit depth as the bitdepth value in this struct, which can be 1-bit to 16-…
396 If a palette is used, it counts as 1 channel.*/
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
541 sRGB chunk: optional. May not appear at the same time as iCCP.
549 iCCP chunk: optional. May not appear at the same time as sRGB.
555 …For encoding, if iCCP is present, gAMA and cHRM are recommended to be added as well with values th…
556 …profile as closely as possible, if you wish to do this you should provide the correct values for g…
564 data if the pixels could be encoded as grayscale but the ICC profile is RGB.
592 (such as one with two IHDR chunks or the disallowed combination of sRGB with iCCP). But do use
593 …this if you wish to store an ancillary chunk that is not supported by LodePNG (such as sPLT or hIS…
597 later, such as lodepng_chunk_next and lodepng_chunk_append, to read/write this struct.
646 /* Check LodePNGDecompressSettings for more ignorable errors such as ignore_adler32 */
688 /*Use filter that gives minimum sum, as described in the official PNG filter heuristic.*/
708 …unsigned short key_r; /*key values, always as 16-bit, in 8-bit case the byte is duplicated, e.g. 6…
732 LodePNGCompressSettings zlibsettings; /*settings for the zlib encoder, such as window size, ...*/
745 the same length as the amount of scanlines in the image, and each value must <= 5. You
754 /*add LodePNG identifier and version as a text chunk, for debugging*/
756 /*encode text chunks as zTXt chunks instead of tEXt chunks, and use compression in iTXt chunks*/
787 Same as lodepng_decode_memory, but uses a LodePNGState to allow custom settings and
796 that is in the IHDR chunk of the PNG, such as width, height and color type. The
809 chunk_pointer - start_of_file as pos).
876 /*returns 0 if the crc is correct, 1 if it's incorrect (0 for OK as usual!)*/
1008 /* Same as other lodepng::decode, but using a State for more settings and information. */
1018 /* Same as other lodepng::encode, but using a State for more settings and information. */
1080 [ ] errors in state instead of as return code?
1174 or the same color type as the PNG
1175 *) encoding of PNGs, from any raw image to 24- or 32-bit color, or the same color type as the raw i…
1209 *) The following public chunks are not (yet) supported but treated as unknown chunks by LodePNG:
1242 When using LodePNG, care has to be taken with the C version of LodePNG, as well
1243 as the C-style structs when working with C++. The following conventions are used
1258 above. For C, simple decoding can be done with functions such as
1298 is done, the resulting data will be as it was in the PNG (after decompression)
1309 above. For C, simple encoding can be done with functions such as
1327 When encoding, you use this the opposite way as when decoding: for encoding,
1333 it tries as close as possible. Some things are ignored by the encoder. The
1367 chunk if force_palette is true. This can used as suggested palette to convert
1370 *) text_compression: default 1. If 1, it'll store texts as zTXt instead of tEXt chunks.
1372 large texts but a larger result on small texts (such as a single program name).
1381 you decode a PNG, you get the result as a raw image in the color type you want,
1385 of colors in the image. It can be configured to let you control it instead as
1407 as well as palettized color modes. After the zlib decompression and unfiltering
1426 As explained in the sections about the encoder and decoder, you can specify
1482 -anything to a palette, as long as the palette has the requested colors in it
1491 as the PNG has, by setting the color_convert setting to false. Settings in
1534 of the error in English as a string.
1539 different decisions based on error types as the numbers are not guaranteed to
1663 and with the same settings as the rest of the program, or the interfaces with
1733 …//the pixels are now in the vector "image", 4 bytes per pixel, ordered RGBARGBA..., use it as text…
1790 state.encoder.add_id: add LodePNG identifier and version as a text chunk
1897 Also various fixes, such as in the deflate and the padding bits code.
1935 cleaned out code as well as making certain parts faster.
1939 *) 09 dec 2006: (!) Placed output parameters of public functions as first parameter.
1947 *) 29 jul 2006: (!) Changed the interface: image info is now returned as a