head 1.10; access; symbols pkgsrc-2023Q4:1.8.0.8 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.6 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.4 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.2 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.7.0.14 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.12 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.10 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.8 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.6 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.4 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.2 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.6.0.6 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.4 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.2 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.4.0.10 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.6 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.4 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.2 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.3.0.8 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.6 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.4 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.2 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.2.0.18 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.16 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.12 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.10 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.8 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.10 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.8 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.6 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.4 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.2 pkgsrc-2014Q4-base:1.1; locks; strict; comment @# @; 1.10 date 2024.01.19.15.17.11; author adam; state Exp; branches; next 1.9; commitid r0TUZSeUb6hOw4VE; 1.9 date 2024.01.04.14.51.04; author adam; state Exp; branches; next 1.8; commitid WGQXv3vSLozBR8TE; 1.8 date 2023.01.30.07.53.38; author adam; state Exp; branches; next 1.7; commitid wSxwXTwSQPW1sxbE; 1.7 date 2021.06.15.10.26.48; author adam; state Exp; branches; next 1.6; commitid 2ZU05njAidjmodXC; 1.6 date 2020.07.29.07.02.21; author adam; state Exp; branches; next 1.5; commitid bBx5SumNOhxTzWhC; 1.5 date 2020.01.02.12.55.07; author adam; state Exp; branches; next 1.4; commitid 7s33uDcmXT6sf7RB; 1.4 date 2019.03.22.08.23.04; author adam; state Exp; branches; next 1.3; commitid pUK5EbwOMLJ3WkgB; 1.3 date 2018.01.25.11.27.35; author adam; state Exp; branches; next 1.2; commitid uj2nBKJ3kMeoufoA; 1.2 date 2016.03.17.12.44.58; author fhajny; state Exp; branches; next 1.1; commitid yk8y2eWsEaQRIZYy; 1.1 date 2014.10.02.07.23.56; author adam; state Exp; branches; next ; commitid xhRS9P933DEk4BSx; desc @@ 1.10 log @leptonica: use proper pkg-config filename @ text @@@comment $NetBSD: PLIST,v 1.9 2024/01/04 14:51:04 adam Exp $ bin/convertfilestopdf bin/convertfilestops bin/convertformat bin/convertsegfilestopdf bin/convertsegfilestops bin/converttopdf bin/converttops bin/fileinfo bin/imagetops bin/xtractprotos include/leptonica/allheaders.h include/leptonica/alltypes.h include/leptonica/array.h include/leptonica/array_internal.h include/leptonica/arrayaccess.h include/leptonica/bbuffer.h include/leptonica/bilateral.h include/leptonica/bmf.h include/leptonica/bmfdata.h include/leptonica/bmp.h include/leptonica/ccbord.h include/leptonica/ccbord_internal.h include/leptonica/colorfill.h include/leptonica/dewarp.h include/leptonica/endianness.h include/leptonica/environ.h include/leptonica/gplot.h include/leptonica/hashmap.h include/leptonica/heap.h include/leptonica/imageio.h include/leptonica/jbclass.h include/leptonica/leptwin.h include/leptonica/list.h include/leptonica/morph.h include/leptonica/pix.h include/leptonica/pix_internal.h include/leptonica/ptra.h include/leptonica/queue.h include/leptonica/rbtree.h include/leptonica/readbarcode.h include/leptonica/recog.h include/leptonica/regutils.h include/leptonica/stack.h include/leptonica/stringcode.h include/leptonica/sudoku.h include/leptonica/watershed.h lib/cmake/leptonica/LeptonicaConfig-version.cmake lib/cmake/leptonica/LeptonicaConfig.cmake lib/cmake/leptonica/LeptonicaTargets-release.cmake lib/cmake/leptonica/LeptonicaTargets.cmake lib/libleptonica.so lib/libleptonica.so.6 lib/libleptonica.so.6.0.0 lib/pkgconfig/lept.pc @ 1.9 log @leptonica: updated to 1.84.1 1.84.1 * Remove support for openjpeg versions < 2.1. * Improve error handling for stringLength() and stringCat(), and add tests in prog/string_reg. * Source files changed: blend.c, dnafunc1.c, jp2kio.c, pageseg.c, partify.c, pix1.c, ptafunc2.c, sarray2.c, utils2.c * Prog files changed: boxa3_reg.c, string_reg.c, writetext_reg.c, deskew_it.c 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.8 2023/01/30 07:53:38 adam Exp $ d55 1 a55 1 lib/pkgconfig/lept_Release.pc @ 1.8 log @leptonica: updated to 1.83.1 Leptonica version 1.83.1 This is a configure-ready release, derived from 1.83.0 on 26 Jan 2023. Leptonica version 1.83.0 This is a configure-ready release, derived from the master on 20 Dec 2022. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.7 2021/06/15 10:26:48 adam Exp $ d55 1 a55 1 lib/pkgconfig/lept.pc @ 1.7 log @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 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.6 2020/07/29 07:02:21 adam Exp $ d15 1 d23 1 d37 1 d48 7 a54 3 lib/cmake/LeptonicaConfig-version.cmake lib/cmake/LeptonicaConfig.cmake lib/liblept.la @ 1.6 log @leptonica: updated to 1.80.0 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). @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.5 2020/01/02 12:55:07 adam Exp $ d27 1 @ 1.5 log @leptonica: updated to 1.79.0 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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.4 2019/03/22 08:23:04 adam Exp $ d22 1 @ 1.4 log @leptonica: updated to 1.78.0 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 @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.3 2018/01/25 11:27:35 adam Exp $ d43 2 @ 1.3 log @leptonica: updated to 1.75.0 This is a new version, for major Ubuntu release 18.04. $TMPDIR path rewriting turned off on Unix; only used for Windows. Added pix conversion to depth 2 and 4. We now have general converters to 1, 2, 4, 8, 16 and 32 bpp. Modified giflib to use read/write from/to memory; no temp files; no longer support versions before 5.1. Move most low-level code from separate files to their callers; about 30 of them became static. Improved table detection on scanned page images (tests: pageseg_reg.c) Added support for write/compare regression tests for files. Modified printimage for more flexibility. Enable lookup by key on comma-separated key/value text file. Update README.html for building with Visual Studio. Improved functions for getting pixel averages in RGB images Simplified and speedup of unsharp masking. New function for detecting and correcting text orientation. Remove slow sharpening operation when not appropriate during scaling. Better handling of gplots with 0 or 1 data point. Coverity scan fixes. Modified jpeg2000 header to use openjpeg 2.3. Improved depth accessors for pixa and pixaa; added size accessors for pixa and pixaa. Bug fix in webp interface on read error. New function that finds the closest boxes in a boxa to any particular box, in each of 4 directions. New regression tests in automated sequence: blend5_reg, quadtree_reg, wordboxes_reg. New program: textorient Removed programs: snapcolortest @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.2 2016/03/17 12:44:58 fhajny Exp $ d10 1 @ 1.2 log @Update graphics/leptonice to 1.73. 1.73 - All lept_* functions have been rewritten to avoid path rewrites for output to temp files, which were introduced in 1.72. - Naming changes (to avoid collisions): #defines MALLOC --> LEPT_MALLOC, CALLOC --> LEPT_CALLOC, etc. ByteBuffer --> L_ByteBuffer - Added grayscale histogram functions that can be used to compare images. - Added functions to determine if an image region has horizontal text lines. - Added functions to compare photo regions of images to determine if they're essentially the same. - Added red-black tree utility functions to implement maps and sets. - The keys for maps and sets can be 64-bit entities (signed and unsigned integers and doubles). - Implemented hashsets and hashmaps, using 64 bit keys. - Replaced the numaHash by l_dnaHash; removed numa2d - Improved security of tiff and gif reading, to prevent memory corruption when reading bad data. - Removed src files: bootnumgen.c - Added src files: rbtree.c, rbtree.h, map.c, bootnumgen1.c, bootnumgen2.c - Added prog files: rbtreetest.c, maptest.c, settest.c, hashtest.c, recog_bootnum.c, percolatetest.c - Added files for building using cmake (Egor Pugin) 1.72 - Better handling of 1 bpp colormap read/write with png so that they are losseless. - Fixed overflow bug in pixCorrelationBinary(). - Fixed orientation flags and handling of 16 bit RGB in tiff. - Also new wrappers to TIFFClientOpen(), so we no longer go through the file descriptor for memory operations. - Improvements in the dewarp functions. - New box sequence smoothings. - New antialiased painting through mask; previously it was only implemented for connected components in a mask. - Better error handling and debug output with jpeg2000 read/write. - Implemented base64 encoding. This allows binary data to be represented as a C string that can be compiled. Used this in bmf utility. - Implemented automatic code generation for deserialization from compiled strings (stringcode.*) - Regression tests write to leptonica subdir of in windows; in unix it is optional. This avoids spamming the directory. - Added new colorspace conversions (XYZ, LAB). - New source files: encoding.c, bmfdata.h, stringcode.c, stringcode.h, bootnumgen.c. - Removed source files: convolvelow.c, graymorphlow.c - New programs: genfonts_reg, colorize_reg, texturefill_reg, autogentest1, autogentest2. - alltests_reg now has 66 tests. @ text @d1 1 a1 1 @@comment $NetBSD$ a9 4 bin/printimage bin/printsplitimage bin/printtiff bin/splitimage2pdf @ 1.1 log @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. @ text @d1 1 a1 1 @@comment $NetBSD: PLIST,v 1.14 2014/07/31 06:52:22 adam Exp $ d22 1 d38 1 d43 1 @