Path to this page:
Subject: CVS commit: pkgsrc/graphics/leptonica
From: Filip Hajny
Date: 2016-03-17 13:44:58
Message id: 20160317124458.45F1EFBB7@cvs.NetBSD.org
Log Message:
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.
Files: