#include "allheaders.h"
-/* MS VC++ can't handle array initialization with static consts ! */
-#define L_BUF_SIZE 512
+static const l_int32 L_BUF_SIZE = 512;
/* Cygwin needs an extension to prevent it from appending
* ".exe" to the filename */
diff --git a/liblept/version-notes.html b/liblept/version-notes.html
index 0a8dc88..ed392be 100644
--- a/liblept/version-notes.html
+++ b/liblept/version-notes.html
@@ -22,6 +22,34 @@
+1.72 5 Apr 15
+ Better handling of 1 bpp colormap read/write with png so that
+ they are losseless. The colormap is always removed on read and
+ the conversion is to the simplest non-cmapped pix that can fully
+ represent the input -- both with and without alpha.
+ 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.
+
1.71 18 Jun 14
This version supports tesseract 3.0.4. In particular, 3.0.4
has automatic conversion of a set of scanned images, either in a
diff --git a/libpng/libpng.vcxproj b/libpng/libpng.vcxproj
index ed3d370..f6d347b 100644
--- a/libpng/libpng.vcxproj
+++ b/libpng/libpng.vcxproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -22,23 +22,24 @@
libpng
{0008960E-E0DD-41A6-8265-00B31DDB4C21}
libpng-143
+ 8.1
StaticLibrary
- v120
+ v140_xp
StaticLibrary
- v120
+ v140_xp
StaticLibrary
- v120
+ v140_xp
StaticLibrary
- v120
+ v140_xp
diff --git a/libtiff/libtiff/libtiff.vcxproj b/libtiff/libtiff/libtiff.vcxproj
index cafc805..76736a6 100644
--- a/libtiff/libtiff/libtiff.vcxproj
+++ b/libtiff/libtiff/libtiff.vcxproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -22,27 +22,28 @@
{0402F7E8-9BE8-4D59-A789-BBB96B284856}
Win32Proj
libtiff-394
+ 8.1
StaticLibrary
true
- v120
+ v140_xp
StaticLibrary
true
- v120
+ v140_xp
StaticLibrary
false
- v120
+ v140_xp
StaticLibrary
false
- v120
+ v140_xp
diff --git a/vs2013+64bit_support-git.patch b/vs2013+64bit_support-git.patch
index a09d686..7667b79 100644
--- a/vs2013+64bit_support-git.patch
+++ b/vs2013+64bit_support-git.patch
@@ -8,9 +8,9 @@ Index: vs2013/include/leptonica_versionnumbers.props
+
+ 416
+ 8c
-+ 171
-+ 1,71,0,0
-+ 1.71
++ 172
++ 1,72,0,0
++ 1.72
+ 143
+ 394
+ 128
@@ -4155,9 +4155,9 @@ Index: vs2013/include/leptonica_versionnumbers.props
+
+ 416
+ 8c
-+ 171
-+ 1,71,0,0
-+ 1.71
++ 172
++ 1,72,0,0
++ 1.72
+ 143
+ 394
+ 128
@@ -4234,9 +4234,9 @@ Index: vs2013/include/leptonica_versionnumbers.props
+
+ 416
+ 8c
-+ 171
-+ 1,71,0,0
-+ 1.71
++ 172
++ 1,72,0,0
++ 1.72
+ 143
+ 394
+ 128
diff --git a/vs2013+64bit_support.patch b/vs2013+64bit_support.patch
index 908720d..98d6bcc 100644
--- a/vs2013+64bit_support.patch
+++ b/vs2013+64bit_support.patch
@@ -53,9 +53,9 @@ index 0000000..5d3a00b
+
+ 416
+ 8c
-+ 171
-+ 1,71,0,0
-+ 1.71
++ 172
++ 1,72,0,0
++ 1.72
+ 143
+ 394
+ 128
diff --git a/zlib/zlibstat.vcxproj b/zlib/zlibstat.vcxproj
index 97e9af0..1a4c0b6 100644
--- a/zlib/zlibstat.vcxproj
+++ b/zlib/zlibstat.vcxproj
@@ -1,5 +1,5 @@
-
+
Debug
@@ -21,27 +21,28 @@
{745DEC58-EBB3-47A9-A9B8-4C6627C01BF8}
zlib-128
+ 8.1
StaticLibrary
false
- v120
+ v140_xp
StaticLibrary
false
- v120
+ v140_xp
StaticLibrary
false
- v120
+ v140_xp
StaticLibrary
false
- v120
+ v140_xp