./graphics/leptonica, Software for image processing and image analysis applications

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.82.0, Package name: leptonica-1.82.0, Maintainer: adam

This package contains well-tested C code for some basic image processing
operations, along with a description of the functions and some design methods.
A full set of affine transformations (translation, shear, rotation, scaling)
on images of all depths is included, with the exception that some of the
scaling methods do not work at all depths. There are also implementations of
binary morphology, grayscale morphology, convolution and rank order filters,
and applications such as jbig2 image processing and color quantization.

Required to run:
[graphics/tiff] [graphics/png] [graphics/openjpeg] [graphics/giflib] [graphics/libwebp]

Required to build:

Master sites:

Filesize: 13712.384 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-09-29 13:53:13 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
leptonica: updated to 1.82.0

* Fix issue-585: reading tiff rgb with tiffbpl = 1.5 * packedbpl.
* Fix issue-586: failure to properly wrap tiff-g4 in pdf without
  transcoding.  The fix is to do transcoding for tiff-g4, as was
  done before April 2021.
   2021-06-15 12:26:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
leptonica: updated to 1.81.1

1.81.1  June 11, 2021
* Added choice of codec (JP2 or J2K) when writing jp2k files.
* Fix use of hashmap with key based on dna.

1.81.0  June 6, 2021
* Fixed problems with tiff pdf wrapping photometry.
* Fixed scaling issues in prog/cleanpdf for printing.
* New progs: tiffpdftest, hashtest
* Fixed uninitialized data error in pixAddBorderGeneral() and
* Rewrote Numa functions that discretize into bins.  Have
  binning by both sorting and histogram.
* Rewrote and simplified pixGetRankColorArray() and pixGetBinnedColor().
* Added tests to prog/rankbin_reg.c.
* Simplified fpixCopy() and dpixCopy(), and functions that use them.
* Check input for bilateral transforms.
* Add function for splitting a file evenly by lines.
* Check input for getFilenamesInDirectory()
* Many new fuzzers.
* Use size_t for all size inputs to ascii85 encoding/decoding
* New regression tests: encoding_reg.c, binmorph6_reg.c,
* Reworked concatpdf for generality, using the Poppler package.
* Removed dwa flipdetection from the library.  All the dwa code
  is now in flipdetectdwa.c.notused.  Likewise prog/flipselgen.c
  is retained for completeness, renamed flipselgen.c.notused,
  and is not compiled.
* Added hashmap utility (hashmap.c, hashmap.h).
* Removed functions using dnahash on strings, pts and doubles.
* Improved the speed of hashing for strings and doubles.
* Added function for tiling images in pairs for comparison.
* Added null terminations to serialized strings written to memory,
  preventing buffer overrun by strlen() [fixed by Stefan Weil].
* No longer use "NoInit" versions of pix creation in leptonica.
  because they risk reading uninitialized data.  These functions
  remain in the library because they are in use in applications.
* Add two composite binarization functions, from prog/binarize_set.
* Giulio Lunati fixed pnm reading to work with stdin input.
* Removed several of the boxa compare and modify functions.
* Implemented reading jpeg200 data encded in j2k "codestream" format.
  Can now read data in both jp2 and j2k.
   2020-07-29 09:02:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
leptonica: updated to 1.80.0

* Improve bmp handling of 1 bpp images and sanity checking of params.
* Add function to display all rgb gamut colors
* in Makefile.am, use option serial-tests to avoid races in testing
* Make md subdirectory and add ax_split_version.md there
* Simple function for hue-invariant mapping (pixMapWithInvariantHue)
* Fixed bug in limit of ptra size when used for sorting by bins.
* Use hashmap to count pixel colors in RGB(A) images.
* Convert hashtest program to regression test hash_reg.
* Convert croptest program to regression test crop_reg.
* New color segmentation by region growing (colorfill.c)
* New regression tests: colorfill_reg, circle_reg, ccbord_reg.
* Set maxima for all allocations for common leptonica data structures.
* Don't fail when downscaling 2, 4, 8, and 32 bpp images, even
  to one pixel, invoking pixScaleSmooth().
* New functions that select 1 bpp components based on their area.
* Incremental addition to sorted array of numbers.
* new prog/fuzzing directory for oss-fuzz based fuzzing programs
* use of pixcmapIsValid() with extra argument to determine validity
  with the pix it is attached to.
* Use lept_stderr() in all programs in the prog directory.
* New program rasteroptest() for thorough testing of rasterop functions.
* Removed the pixSaveTiled*() functions
* Stubbed pixDisplayWrite().  Last used in tesseract 3.04.01 (2/2016).
   2020-06-05 14:49:18 by Jonathan Perkin | Files touched by this commit (189)
Log message:
*: Apply revbump for graphics/giflib API change.
   2020-01-02 13:55:07 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
leptonica: updated to 1.79.0

* Clean up auto-generation of files; removed 'register'
* Some fixes for issues identified by fuzzer
* New source files: checkerboard.c
* New programs: replacebytes.c, webpanimio_reg.c, partifytest.c,
  rectangle_reg.c, lowsat_reg.c, rotate_it.c, scale_it.c, dewarp_it.c,
  pdfio1_reg.c, pdfio2_reg.c, checkerboard_reg.c, underlinetest.c.
* Convert to standard reg test: heap_reg.c, pixa1_reg.c, smallpix_reg.c
* Improve data checking when reading image file headers
  (pnm, png, jpeg, tiff)
* Fix some bugs in pnm reading
* Fix inconsistencies with the encoding type flags in pdf writing
* Allow tiff to write images with colormaps
* Fix errors in PS code; made some functions static
* Add code for animated webp (requires webp mux and demux libraries)
* Add "partify" application for separating parts in a musical score
* Enable tif read/write of gray+alpha and rgba; filter out tiff
  pixels that are not uint and compression by tile
* Apply consistent formatting of static const variables
* Add programs for scaling, rotation and deskew, named dewkew_it,
  rotate_it and scale_it, for useful operations on arbitrary images.
* Convert pdfiotest program to two regression tests: pdfio1_reg
  and pdfio2_reg.
* Remove all use of strncat; use stringCat().
* New functions from removing outliers in sequences of boxes.
* Generalize pixAverageInRect(): mask, region and range filters,
  and subsampling.  New pixAverageInRectRGB().
* Fix int overflow bug in pixMedianCut(); required new heap accessor.
* New pixMultiplyGray() allows pix to be multiplied by an array (or
  another pix)
* Better routines for counting color.
* Lossless conversion for RGB to cmap with not more than 256 colors.
* New histo based global thresholding: pixThresholdByHisto().
* Allow most reg tests to run even if external libraries are not
* New one-line gplot functions that return a pix.
* New application to find where corners meet in a checkerboard.
* Add utility functions for painting through mask in cmap pix,
  creating a hit-miss sela from a color pix, equality of two pta.
* Proper handling of 1 bpp colormap tiffs: remove when reading,
  preserve when writing.
* Deprecate three pixSaveTile*() functions; removed all calls to
  these from the library and progs.
* Include auto_config.h explicitly in all src and prog files.
* Improve input data checking for bmp files.
   2019-03-22 09:23:04 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
leptonica: updated to 1.78.0

* Various improvements in handling boxa sequences and transforms.
* New regression tests: boxa4_reg, string_reg
* New function for copying a pix, filtered by a boxa.
* Modify histogram method for image comparison.
* More careful attention to invalid boxes in box geometry functions.
* Better string and array functions for search and replace.
* Convenience functions for generating simple masks.
* Allow pdf writing of jp2k images, in full generality.
* Allow writing compressed ps images for printing.
* Modified enum comments to include a suggested enum name.
* New program: imagetops