Leptonica is an open source library containing software that is broadly useful for image processing and image analysis applications.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
danblooomberg 8ccff04278 Add comments to webpanim shim 7 days ago
..
CMakeLists.txt cmake: improve formating 2 months ago
Makefile.am Add renderpdf.c to library 1 year ago
adaptmap.c Remove unused variable with C++ comment indicator in the line 4 months ago
affine.c Remove PROCNAME / procName and use __func__ 3 years ago
affinecompose.c Add 'printwiden' arg to pixCropImage(), cropFilesToPdf() and prog/croppdf 1 year ago
allheaders.h Generalized pixFindBaselnes() to control size of 'widow' blocks to be ignored 6 months ago
allheaders_bot.txt Add leptonica 1.69. 10 years ago
allheaders_top.txt Bump the master patch number by 1, to version 1.85.1 9 months ago
alltypes.h Implemented a more general hashmap utility. 4 years ago
array.h Split pix.h and array.h into a public interface and an internal interface 3 years ago
array_internal.h Modify makefile.static and Makefile.am to include the internal header files 3 years ago
arrayaccess.c New utility for estimating color content based on region growing. 6 years ago
arrayaccess.h Add more const attributes 6 years ago
bardecode.c Documented new 4-arg error-return macros and functions. 2 years ago
baseline.c Remove default value for minw in pixFindBaselinesGen(); Issue #766 6 months ago
bbuffer.c Remove PROCNAME / procName and use __func__ 3 years ago
bbuffer.h Doxygen: add a quick hack converter + Doxyfile 9 years ago
bilateral.c Remove PROCNAME / procName and use __func__ 3 years ago
bilateral.h Reformatting header files 9 years ago
bilinear.c Remove PROCNAME / procName and use __func__ 3 years ago
binarize.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
binexpand.c Remove PROCNAME / procName and use __func__ 3 years ago
binreduce.c Remove PROCNAME / procName and use __func__ 3 years ago
blend.c Remove support for openjpeg 2.0. 2 years ago
bmf.c Fix fscanf return value in recogReadStream() when it just reads a string. 2 years ago
bmf.h Fix fscanf return value in recogReadStream() when it just reads a string. 2 years ago
bmfdata.h Added another set of templates to bootnum1.pa. 8 years ago
bmp.h Don't take address of packed member in structure BMP_HEADER 10 months ago
bmpio.c Use LEPT_FREE in the library 8 months ago
bmpiostub.c Cleanup of stub functions 3 years ago
bootnumgen1.c Finish adding #include config_auto.h to all src files in the library. 6 years ago
bootnumgen2.c Finish adding #include config_auto.h to all src files in the library. 6 years ago
bootnumgen3.c Finish adding #include config_auto.h to all src files in the library. 6 years ago
bootnumgen4.c Remove PROCNAME / procName and use __func__ 3 years ago
boxbasic.c Addressed new coverity-scan results 1 year ago
boxfunc1.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
boxfunc2.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
boxfunc3.c Remove PROCNAME / procName and use __func__ 3 years ago
boxfunc4.c Add check for number of corner points in ptaConvertToBox() 1 year ago
boxfunc5.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
bytearray.c Documented new 4-arg error-return macros and functions. 2 years ago
ccbord.c Documented new 4-arg error-return macros and functions. 2 years ago
ccbord.h Split out internals in ccbord.h in a similar way to pix and array. 3 years ago
ccbord_internal.h Split out internals in ccbord.h in a similar way to pix and array. 3 years ago
ccthin.c Remove PROCNAME / procName and use __func__ 3 years ago
checkerboard.c Remove PROCNAME / procName and use __func__ 3 years ago
classapp.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
colorcontent.c Loosen value of pixel difference criterion in compressFilesToPdf(). 7 months ago
colorfill.c Remove some unused variables from the library and progs 3 years ago
colorfill.h Rename colorinfo utility to colorfill 5 years ago
coloring.c Merge pull request #710 from GerHobbelt/comment-tweaks-2 2 years ago
colormap.c Addressed new coverity-scan results 1 year ago
colormorph.c Remove PROCNAME / procName and use __func__ 3 years ago
colorquant1.c Fix some warnings caused by unreachable code 8 months ago
colorquant2.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
colorseg.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
colorspace.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
compare.c Fixed various coverity scan issues 1 year ago
conncomp.c Remove PROCNAME / procName and use __func__ 3 years ago
convertfiles.c Remove PROCNAME / procName and use __func__ 3 years ago
convolve.c Merge pull request #710 from GerHobbelt/comment-tweaks-2 2 years ago
correlscore.c Remove PROCNAME / procName and use __func__ 3 years ago
dewarp.h Add a filter on recog template heights 9 years ago
dewarp1.c Addressed new coverity-scan results 1 year ago
dewarp2.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
dewarp3.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
dewarp4.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
dnabasic.c Addressed new coverity-scan results 1 year ago
dnafunc1.c Remove support for openjpeg 2.0. 2 years ago
dnahash.c Remove PROCNAME / procName and use __func__ 3 years ago
dnahash_remnant.c.notused Remove PROCNAME / procName and use __func__ 3 years ago
dwacomb.2.c Remove PROCNAME / procName and use __func__ 3 years ago
dwacomblow.2.c Finish adding #include config_auto.h to all src files in the library. 6 years ago
edge.c Remove PROCNAME / procName and use __func__ 3 years ago
encoding.c Use ANSI function prototype (fixes compiler warning) 2 years ago
endianness.h.in Add leptonica 1.67. 10 years ago
enhance.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
environ.h Fix Issue #575 by prepending 'extern "C"' to the declaration of globals 4 months ago
fhmtauto.c Remove PROCNAME / procName and use __func__ 3 years ago
fhmtgen.1.c Remove PROCNAME / procName and use __func__ 3 years ago
fhmtgenlow.1.c Removed 'register' from the auto-generated files 6 years ago
finditalic.c Clean up output from pixItalicWords() 3 years ago
flipdetect.c Add comment to address Issue #769: text orientation detection on Cyrillic script 4 months ago
flipdetectdwa.c.notused Remove PROCNAME / procName and use __func__ 3 years ago
fliphmtgen.c.notused Added file fliphmtgen.c.notused to clarify process of DWA generation 1 year ago
fmorphauto.c Remove PROCNAME / procName and use __func__ 3 years ago
fmorphgen.1.c Remove PROCNAME / procName and use __func__ 3 years ago
fmorphgenlow.1.c Removed 'register' from the auto-generated files 6 years ago
fpix1.c Addressed new coverity-scan results 1 year ago
fpix2.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
gifio.c Clean up prog/jbrankhaus.c and prog/jbcorrelation.c 10 months ago
gifiostub.c Cleanup of stub functions 3 years ago
gplot.c Use 4-arg error messages for a few I/O functions 2 years ago
gplot.h New functions for more versatility with gplot. 6 years ago
graphics.c Merge pull request #712 from GerHobbelt/numa-patch-2 2 years ago
graymorph.c Remove PROCNAME / procName and use __func__ 3 years ago
grayquant.c Added documentation for high-level adaptive binarization functions 1 year ago
hashmap.c Remove PROCNAME / procName and use __func__ 3 years ago
hashmap.h Implemented a more general hashmap utility. 4 years ago
heap.c Remove PROCNAME / procName and use __func__ 3 years ago
heap.h Reformatting header files 9 years ago
hmttemplate1.txt Remove PROCNAME / procName and use __func__ 3 years ago
hmttemplate2.txt Removed 'register' from the auto-generated files 6 years ago
imageio.h Implemented reading of jpeg2000 data encoded in the j2k "codestream" format 4 years ago
jbclass.c Resolve Issue #734: invalid colormap made in jbcorrelation and jbrankhaus. 1 year ago
jbclass.h Cleaned up macro formatting in environ.h 6 years ago
jp2kheader.c Small documentation clean up of the opj stream jp2k I/O implementation 1 year ago
jp2kheaderstub.c Small documentation clean up of the opj stream jp2k I/O implementation 1 year ago
jp2kio.c Fix CID 1584213 (Unsigned compared against 0) 1 year ago
jp2kiostub.c Cleanup of stub functions 3 years ago
jpegio.c Addressed new coverity-scan results 1 year ago
jpegiostub.c Cleanup of stub functions 3 years ago
kernel.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
leptonica-license.txt Replace pixDisplayWrite() by a nonfunctional stub. 5 years ago
leptwin.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
leptwin.h Add leptonica 1.69. 10 years ago
libversions.c Resolve Issue #734: invalid colormap made in jbcorrelation and jbrankhaus. 1 year ago
list.c Remove PROCNAME / procName and use __func__ 3 years ago
list.h Reformatting header files 9 years ago
mainpage.txt doxygen: add an example mainpage 9 years ago
makefile.static Bump the master patch number by 1, to version 1.85.1 9 months ago
map.c Remove PROCNAME / procName and use __func__ 3 years ago
maze.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
morph.c Remove PROCNAME / procName and use __func__ 3 years ago
morph.h Rename enums for color content measurement (to simplify them); move to pix.h 6 years ago
morphapp.c Coverity scan found an issue with destroying centroid tables. 3 years ago
morphdwa.c Remove PROCNAME / procName and use __func__ 3 years ago
morphseq.c Add pixCropImage() option to aggressively remove side noise 1 year ago
morphtemplate1.txt Remove PROCNAME / procName and use __func__ 3 years ago
morphtemplate2.txt Removed 'register' from the auto-generated files 6 years ago
numabasic.c Addressed new coverity-scan results 1 year ago
numafunc1.c Merge pull request #710 from GerHobbelt/comment-tweaks-2 2 years ago
numafunc2.c Merge pull request #712 from GerHobbelt/numa-patch-2 2 years ago
pageseg.c Add documentation for cropping from orthographically generated pdf 1 month ago
paintcmap.c Remove PROCNAME / procName and use __func__ 3 years ago
parseprotos.c Remove PROCNAME / procName and use __func__ 3 years ago
partify.c Fix two bugs, found in Issue #726 2 years ago
partition.c Remove PROCNAME / procName and use __func__ 3 years ago
pdfapp.c Loosen value of pixel difference criterion in compressFilesToPdf(). 7 months ago
pdfappstub.c Refactor functions to allow reuse in croppdf and cleanpdf 2 years ago
pdfio1.c Fix some regtest issues (thanks to Pierre Benoit) 2 years ago
pdfio1stub.c Cleanup of stub functions 3 years ago
pdfio2.c Fixed various coverity scan issues 1 year ago
pdfio2stub.c Cleanup of stub functions 3 years ago
pix.h Add options to pixDisplay() at the suggestion of Ger Hobbelt. 2 years ago
pix1.c Remove support for openjpeg 2.0. 2 years ago
pix2.c Addressed new coverity-scan results 1 year ago
pix3.c Small change to prevent line wrap 2 years ago
pix4.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
pix5.c Added pixExtractRectangularRegions() 1 year ago
pix_internal.h Modify makefile.static and Makefile.am to include the internal header files 3 years ago
pixabasic.c Fix a few errors found by Coverity Scan 2 months ago
pixacc.c Remove PROCNAME / procName and use __func__ 3 years ago
pixafunc1.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
pixafunc2.c Issue #655: Remove three unused variables in src 3 years ago
pixalloc.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
pixarith.c Merge pull request #710 from GerHobbelt/comment-tweaks-2 2 years ago
pixcomp.c Addressed new coverity-scan results 1 year ago
pixconv.c Added documentation for high-level adaptive binarization functions 1 year ago
pixlabel.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
pixtiling.c Remove PROCNAME / procName and use __func__ 3 years ago
pngio.c Fixed png writing 24 bpp pix (see Issue #686) 2 years ago
pngiostub.c Cleanup of stub functions 3 years ago
pnmio.c Addressed new coverity-scan results 1 year ago
pnmiostub.c Cleanup of stub functions 3 years ago
projective.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
psio1.c Use lossy dct encoding in convertToPSEmbed() for input webp compressed file 7 months ago
psio1stub.c Cleanup of stub functions 3 years ago
psio2.c Use 4-arg error messages for a few I/O functions 2 years ago
psio2stub.c Cleanup of stub functions 3 years ago
ptabasic.c Addressed new coverity-scan results 1 year ago
ptafunc1.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
ptafunc2.c Remove support for openjpeg 2.0. 2 years ago
ptra.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
ptra.h Fixed bug in limit of ptra size (generic ptr array) when used for sorting. 6 years ago
quadtree.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
queue.c Remove PROCNAME / procName and use __func__ 3 years ago
queue.h Doxygen: add a quick hack converter + Doxyfile 9 years ago
rank.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
rbtree.c Remove PROCNAME / procName and use __func__ 3 years ago
rbtree.h Further simplification of comments above enums (ref. Issue #178) 6 years ago
readbarcode.c Fix a few errors found by Coverity Scan 2 months ago
readbarcode.h Further simplification of comments above enums (ref. Issue #178) 6 years ago
readfile.c Fix some warnings caused by unreachable code 8 months ago
recog.h Further simplification of comments above enums (ref. Issue #178) 6 years ago
recogbasic.c Fix some warnings caused by unreachable code 8 months ago
recogdid.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
recogident.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
recogtrain.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
regutils.c Documented new 4-arg error-return macros and functions. 2 years ago
regutils.h Use atomic operations for some index variables 2 years ago
renderpdf.c Use LEPT_FREE in the library 8 months ago
rop.c additional comment fixes. 2 years ago
roplow.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
rotate.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
rotateam.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
rotateorth.c Remove PROCNAME / procName and use __func__ 3 years ago
rotateshear.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
runlength.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
sarray1.c Addressed new coverity-scan results 1 year ago
sarray2.c Remove support for openjpeg 2.0. 2 years ago
scale1.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
scale2.c Fix some compiler warnings for double promotion 8 months ago
seedfill.c Remove PROCNAME / procName and use __func__ 3 years ago
sel1.c Added pixExtractRectangularRegions() 1 year ago
sel2.c Remove PROCNAME / procName and use __func__ 3 years ago
selgen.c New findpattern2_reg.c demonstrates generation of sels and their use. 1 year ago
shear.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
skew.c Change default binarization threshold for finding image skew 2 months ago
spixio.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
stack.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
stack.h Reformatting header files 9 years ago
stringcode.c Documented new 4-arg error-return macros and functions. 2 years ago
stringcode.h Further simplification of comments above enums (ref. Issue #178) 6 years ago
stringtemplate1.txt Remove PROCNAME / procName and use __func__ 3 years ago
stringtemplate2.txt Add leptonica 1.72. 10 years ago
strokes.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
sudoku.c Remove PROCNAME / procName and use __func__ 3 years ago
sudoku.h Further simplification of comments above enums (ref. Issue #178) 6 years ago
textops.c Remove PROCNAME / procName and use __func__ 3 years ago
tiffio.c Clarify documentation in tiffio.c and pdfapp.c 2 years ago
tiffiostub.c Require libjpeg for reading and writing tiff files 2 years ago
utils1.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
utils2.c Fix a few errors found by Coverity Scan 2 months ago
warper.c additional cumulative patch fixing MSVC2022 warnings about float "possile loss of significant digits", "possible use of uninitialized pointers" and "potentially risky unsigned vs. signad integer comparisons" (when comparing size variables). 2 years ago
watershed.c Remove PROCNAME / procName and use __func__ 3 years ago
watershed.h Doxygen: add a quick hack converter + Doxyfile 9 years ago
webpanimio.c Add comments to webpanim shim 7 days ago
webpanimiostub.c Cleanup of stub functions 3 years ago
webpio.c :shame: did another code scan/review + patch round following https://github.com/DanBloomberg/leptonica/pull/682#issuecomment-1477348962 2 years ago
webpiostub.c Cleanup of stub functions 3 years ago
writefile.c Fix leptonica issue #747 1 year ago
zlibmem.c Coverity scan found we didn't check return for inflateInit() in zlib 3 years ago
zlibmemstub.c Cleanup of stub functions 3 years ago