Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: leptonica-tools | Distribution: openSUSE Tumbleweed |
Version: 1.84.1 | Vendor: openSUSE |
Release: 1.1 | Build date: Mon Mar 18 13:32:18 2024 |
Group: Productivity/Graphics/Other | Build host: reproducible |
Size: 677881 | Source RPM: leptonica-1.84.1-1.1.src.rpm |
Packager: http://bugs.opensuse.org | |
Url: http://leptonica.org/ | |
Summary: Leptonica tools |
Programs for manipulating images.
BSD-2-Clause
* Mon Mar 18 2024 Dirk Müller <dmueller@suse.com> - update to 1.84.1: * This is a configure-ready release, derived from the master on 3 Jan 2024 * Tue Jan 02 2024 jun wang <jgwang@suse.com> - Update to version 1.84.0 * Add getPdfPageCount() to find the number of pages in a pdf file. * Add getPdfPageSizes() and getPdfMediaBoxSizes() to find the information necessary to render images properly. Modify cleanpdf.c and concatpdf.c to use this information. * Add prog/splitpdf.c to split a pdf file into nearly equal page sets. * Add ability to read and write rgba in bmp format, and test in ioformats_reg. * Add regression test prog/partition_reg.c * Change the autotools library name from liblept to libleptonica, to be consistent with the cmake library name. (Apologies to Jeff!) * Add tests for 24 bit pix reading and writing in bmp and png in ioformats_reg. Test new pixDisplayDiff() for visualizing diffs. * Allow prog/concatpdf to output pdf with tiffg4 encoding and with mixed tiffg4 and DCT encoding depending on image color content. * Rename prog/concatpdf --> prog/compresspdf * Put image processing and generation of output pdf from compresspdf and cleanpdf into functions in new files: pdfapp.c, pdfappstub.c. * Add versatile function for cropping an image and filling to page size, along with prog/croppdf to do this on pdf file. * Tue Mar 14 2023 Dirk Müller <dmueller@suse.com> - update to 1.83.1: * Fix jp2k header reader for header offset larger than assumed 44 bytes * Fix issue 659: pdf generation for 1 bpp images fails, breaking tesseract * Mon Jan 09 2023 Mia Herkt <mia@0x0.st> - Update to 1.83.0: * Simplify setting the title of pdf files. * Catch tiff failure to open stream in fopenTiffMemStream() * Check for POSIX functions fstatat() and dirfd() before use. * In prog/cleanpdf: do not allow threshold to exceed 190. Make all parameters required; do not use default values for invalid parameters. * In prog/concatpdf: add input param for title; add jpeg quality factor * Fix flaky hash_reg test on i686: sets generated from SelectRange() can depend slightly on platform. * Convenience function for adding multiple black and white borders. * Fix oss-fuzz issue 42202: underined shift in l_convertCharstrToInt(). * Fix oss-fuzz issue 43841: made pixCountPixels() more efficient. * Fix oss-fuzz issue 44008: pixCountArbInRect() used wrong depth. * Always return tiff resolution of 0 (unknown) if not set. * Simplify operations on pix memory to help avoid mem leaks * Make bmp non-support of 32-bit bmp (rgba) files explicit. * Improve tiff read resolution conversion by rounding. * Use stdatomic.h to make cloning string safe. Remove all *GetRefcount() and *ChangeRefcount() accessors. * Replace procName and mainName strings by __func__. * Remove information about fields in many structs from the public interface allheaders.h, instead putting them in internal files pix_internal.h, array_internal.h and ccbord_internal.h. * Increase the .so number from 5.4.0 to 6.0.0. * Rename the autotools generated libraries from liblept to libleptonica * Fix potential memory leaks from recogAverageSamples() and recogDebugAverages() by not destroying a recog. - Drop ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch (applied upstream) * Fri Nov 26 2021 Dirk Müller <dmueller@suse.com> - update 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. - add ea2bb8c9cf61d3eba2589cfaac05f59a33b4110d.patch to fix test failures to i586 * Thu Jun 24 2021 Kyrill Detinov <lazy.kent@opensuse.org> - Update to 1.81.1. * Added choice of codec (JP2 or J2K) when writing jp2k files. * Fix use of hashmap with key based on dna. - Changes in 1.81.0. * 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 pixRemoveBorderGeneral(). * 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, flipdetect_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. * Wed Jul 29 2020 Kyrill Detinov <lazy.kent@opensuse.org> - Update 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. * Ue 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). * Sat Jan 25 2020 Kyrill Detinov <lazy.kent@opensuse.org> - Update 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 available. * 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. * Tue Apr 02 2019 Kyrill Detinov <lazy.kent@opensuse.org> - Update 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. * Mon Dec 17 2018 Karol Babioch <kbabioch@suse.de> - Update to 1.77.0 * CVE-2018-7442: potential injection attack because '/' is allowed in gplot rootdir. (bsc#1082748) * CVE-2018-7186: number of characters not limited in fscanf or sscanf, allowing possible attack with buffer overflow. (bsc#1081576) * CVE-2018-3836: command injection vulnerability in gplotMakeOutput(). (bsc#1079358) * CVE-2017-18196: duplicated path components. (bsc#1082843) * CVE-2018-7441: hardcoded /tmp pathnames. (bsc#1082749) * CVE-2018-7247: input 'rootname' can overflow a buffer. (bsc#1081631) * CVE-2018-7440: command injection in gplotMakeOutput using $(command). (bsc#1082747) * Using a packed struct for bmp headers to avoid crash on some big-endians. * Fixed a bug in the prototype parser for xtractprotos that was surfaced by a typedef declaration for the bmp headers. * Added some basic pixa functions for rotation and translation. * Added an iterative method to find rectangular coverings for arbitrary connected components. * Enabled read/write for standard jpeg compressed tiff images. * Enabled reading for the old (deprecated) jpeg-encoded tiffs. * Fix range selectors for pixa, pixaa, boxa, boxaa, pta: Now, last = -1 goes to the end. * When reading tiff --> pix, insert IMAGEDESCRIPTION into text field.
/usr/bin/lept-convertfilestopdf /usr/bin/lept-convertfilestops /usr/bin/lept-convertformat /usr/bin/lept-convertsegfilestopdf /usr/bin/lept-convertsegfilestops /usr/bin/lept-converttopdf /usr/bin/lept-converttops /usr/bin/lept-fileinfo /usr/bin/lept-imagetops /usr/bin/lept-xtractprotos /usr/share/licenses/leptonica-tools /usr/share/licenses/leptonica-tools/leptonica-license.txt
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 5 01:42:53 2024