Lines Matching full:error

83 /*ability to convert error numerical codes to English text string*/
154 Return value: LodePNG error code (0 means no error).
211 Return value: LodePNG error code (0 means no error).
313 /*Returns an English description of the numerical error code.*/
322 …unsigned ignore_adler32; /*if 1, continue and don't give an error message if the Adler32 checksum …
326 return an error, output a data size > max_output_size and all the data up to that point. This is
333 Should return 0 if success, any non-0 if error (numeric value not exposed).*/
339 Should return 0 if success, any non-0 if error (numeric value not exposed).*/
435 /*return value is error code (0 means no error)*/
615 …the ICC profile type matches your requested color type, else the encoder gives an error. If auto_c…
617error if the pixel data has non-gray pixels for a GRAY profile, or a silent less-optimal compressi…
700 /*return value is error code (0 means no error)*/
720 return value = LodePNG error code (0 if all went ok, an error if the conversion isn't supported)
725 Return value is LodePNG error code
756 …ize for decompressed text chunks. If a text chunk's text is larger than this, an error is returned,
761 …/* maximum size for compressed ICC chunks. If the ICC profile is larger than this, an error will b…
819 Returns error code (e.g. alloc fail) or 0 if ok.*/
874 unsigned error; member
904 of the PNG file and outputs what it read in the state. Returns error code on failure.
909 Ignores unsupported, unknown, non-metadata or IHDR chunks (without error).
1002 Returns error code (0 if it went ok)
1010 Return error code (0 if it went ok)
1079 return value: error code (0 means ok)
1092 return value: error code (0 means ok)
1137 return value: error code (0 means ok)
1192 [ ] error messages with line numbers (and version)
1195 [ ] let the C++ wrapper catch exceptions coming from the standard library and return LodePNG error
1228 7. error values
1562 sometimes result in an error.
1575 supported, an error is returned. If the types are the same, no conversion is done.
1586 -color to grayscale when non-gray pixels are present: no error is thrown, but
1589 no error is given is to allow converting from three-channel grayscale images to
1592 in it: in this case an error is thrown
1641 7. error values
1644 All functions in LodePNG that return an error code, return 0 if everything went
1645 OK, or a non-zero code if there was an error.
1647 The meaning of the LodePNG error values can be retrieved with the function
1648 lodepng_error_text: given the numerical error code, it returns a description
1649 of the error in English as a string.
1654 different decisions based on error types as the numbers are not guaranteed to
1806 give an error "unexpected end of file while looking for precompiled header".
1846 unsigned error = lodepng::decode(image, width, height, filename);
1848 //if there's an error, display it
1849 …if(error) std::cout << "decoder error " << error << ": " << lodepng_error_text(error) << std::endl;
1860 unsigned error;
1865 error = lodepng_decode32_file(&image, &width, &height, filename);
1867 if(error) printf("decoder error %u: %s\n", error, lodepng_error_text(error));
1953 *) 17 sep 2017: fix memory leak for some encoder input error cases
1958 *) 08 dec 2015: Made load_file function return error if file can't be opened.
1973 *) 27 okt 2012: Tweaks in text chunk keyword length error handling.
2004 *) 7 nov 2010: added LodePNG_error_text function to get error code description.
2013 *) 06 jun 2008: added more error checks for out of memory cases.
2038 *) 19 may 2007: minor fixes, some code cleaning, new error added (error 69),
2050 *) 24 jan 2007: gave encoder an error interface. Added color conversion from any
2073 *) 28 jul 2006: Cleaned the code and added new error checks.
2077 *) 22 jun 2006: (!) Changed way to obtain error value. Added