MCPcopy Create free account
hub / github.com/creatale/node-dv / pixWriteDebug

Function pixWriteDebug

deps/leptonica/src/writefile.c:294–307  ·  view source on GitHub ↗

! * \brief pixWriteDebug() * * \param[in] fname * \param[in] pix * \param[in] format defined in imageio.h * \return 0 if OK; 1 on error * * * Notes: * (1) Debug version, intended for use in the library when writing * to files in a temp directory with names that are compiled in. * This is used instead of pixWrite() for all such library calls. *

Source from the content-addressed store, hash-verified

292 * </pre>
293 */
294l_int32
295pixWriteDebug(const char *fname,
296 PIX *pix,
297 l_int32 format)
298{
299 PROCNAME("pixWriteDebug");
300
301 if (LeptDebugOK) {
302 return pixWrite(fname, pix, format);
303 } else {
304 L_INFO("write to named temp file %s is disabled\n", procName, fname);
305 return 0;
306 }
307}
308
309
310/*!

Callers 15

dewarpaApplyDisparityFunction · 0.85
pixItalicWordsFunction · 0.85
pixaGenerateFontFunction · 0.85
pixaSplitIntoFilesFunction · 0.85
dewarpaShowArraysFunction · 0.85
dewarpDebugFunction · 0.85
dewarpShowResultsFunction · 0.85
recogShowContentFunction · 0.85
recogDebugAveragesFunction · 0.85
selaAddCrossJunctionsFunction · 0.85
selaAddTJunctionsFunction · 0.85

Calls 1

pixWriteFunction · 0.85

Tested by

no test coverage detected