diff --git a/tess-two/src/com/googlecode/leptonica/android/AdaptiveMap.java b/tess-two/src/com/googlecode/leptonica/android/AdaptiveMap.java index 04643869b..c7c3c133f 100644 --- a/tess-two/src/com/googlecode/leptonica/android/AdaptiveMap.java +++ b/tess-two/src/com/googlecode/leptonica/android/AdaptiveMap.java @@ -23,6 +23,7 @@ */ public class AdaptiveMap { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Binarize.java b/tess-two/src/com/googlecode/leptonica/android/Binarize.java index 1ffdafafd..ea85649dd 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Binarize.java +++ b/tess-two/src/com/googlecode/leptonica/android/Binarize.java @@ -23,6 +23,7 @@ */ public class Binarize { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Box.java b/tess-two/src/com/googlecode/leptonica/android/Box.java index f5a5bcdbd..466396da7 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Box.java +++ b/tess-two/src/com/googlecode/leptonica/android/Box.java @@ -26,6 +26,7 @@ */ public class Box { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Boxa.java b/tess-two/src/com/googlecode/leptonica/android/Boxa.java index 418455d42..08303f90f 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Boxa.java +++ b/tess-two/src/com/googlecode/leptonica/android/Boxa.java @@ -26,6 +26,7 @@ */ public class Boxa { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Clip.java b/tess-two/src/com/googlecode/leptonica/android/Clip.java index 9b60776d3..a8c64ee81 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Clip.java +++ b/tess-two/src/com/googlecode/leptonica/android/Clip.java @@ -20,6 +20,7 @@ */ public class Clip { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Convert.java b/tess-two/src/com/googlecode/leptonica/android/Convert.java index b88ba7440..06a7ae0e7 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Convert.java +++ b/tess-two/src/com/googlecode/leptonica/android/Convert.java @@ -23,6 +23,7 @@ */ public class Convert { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Edge.java b/tess-two/src/com/googlecode/leptonica/android/Edge.java index 1e61bc86b..4bbd81420 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Edge.java +++ b/tess-two/src/com/googlecode/leptonica/android/Edge.java @@ -21,6 +21,7 @@ */ public class Edge { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Enhance.java b/tess-two/src/com/googlecode/leptonica/android/Enhance.java index f53f541df..d9f71c1a1 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Enhance.java +++ b/tess-two/src/com/googlecode/leptonica/android/Enhance.java @@ -23,6 +23,7 @@ */ public class Enhance { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/GrayQuant.java b/tess-two/src/com/googlecode/leptonica/android/GrayQuant.java index 8a883ac4d..6d5d8b324 100644 --- a/tess-two/src/com/googlecode/leptonica/android/GrayQuant.java +++ b/tess-two/src/com/googlecode/leptonica/android/GrayQuant.java @@ -18,6 +18,7 @@ public class GrayQuant { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/JpegIO.java b/tess-two/src/com/googlecode/leptonica/android/JpegIO.java index eb0ea8e1c..3aefcf238 100644 --- a/tess-two/src/com/googlecode/leptonica/android/JpegIO.java +++ b/tess-two/src/com/googlecode/leptonica/android/JpegIO.java @@ -29,6 +29,7 @@ */ public class JpegIO { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/MorphApp.java b/tess-two/src/com/googlecode/leptonica/android/MorphApp.java index 0ba768abf..ecf68de64 100644 --- a/tess-two/src/com/googlecode/leptonica/android/MorphApp.java +++ b/tess-two/src/com/googlecode/leptonica/android/MorphApp.java @@ -21,6 +21,7 @@ */ public class MorphApp { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Pix.java b/tess-two/src/com/googlecode/leptonica/android/Pix.java index 28c585cc2..72e03433d 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Pix.java +++ b/tess-two/src/com/googlecode/leptonica/android/Pix.java @@ -25,6 +25,7 @@ */ public class Pix { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Pixa.java b/tess-two/src/com/googlecode/leptonica/android/Pixa.java index d58382985..cb6df480c 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Pixa.java +++ b/tess-two/src/com/googlecode/leptonica/android/Pixa.java @@ -31,6 +31,7 @@ */ public class Pixa implements Iterable { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/ReadFile.java b/tess-two/src/com/googlecode/leptonica/android/ReadFile.java index af4f09283..d416a76e8 100644 --- a/tess-two/src/com/googlecode/leptonica/android/ReadFile.java +++ b/tess-two/src/com/googlecode/leptonica/android/ReadFile.java @@ -29,6 +29,7 @@ */ public class ReadFile { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Rotate.java b/tess-two/src/com/googlecode/leptonica/android/Rotate.java index 2cabeff1d..55f51c44d 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Rotate.java +++ b/tess-two/src/com/googlecode/leptonica/android/Rotate.java @@ -21,6 +21,7 @@ */ public class Rotate { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Scale.java b/tess-two/src/com/googlecode/leptonica/android/Scale.java index 0822fb7bf..68614e779 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Scale.java +++ b/tess-two/src/com/googlecode/leptonica/android/Scale.java @@ -23,6 +23,7 @@ */ public class Scale { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/Skew.java b/tess-two/src/com/googlecode/leptonica/android/Skew.java index 41c0b2966..7e27c837a 100644 --- a/tess-two/src/com/googlecode/leptonica/android/Skew.java +++ b/tess-two/src/com/googlecode/leptonica/android/Skew.java @@ -23,6 +23,7 @@ */ public class Skew { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/leptonica/android/WriteFile.java b/tess-two/src/com/googlecode/leptonica/android/WriteFile.java index d30af82d4..e2fdc1515 100644 --- a/tess-two/src/com/googlecode/leptonica/android/WriteFile.java +++ b/tess-two/src/com/googlecode/leptonica/android/WriteFile.java @@ -25,6 +25,7 @@ */ public class WriteFile { static { + System.loadLibrary("png"); System.loadLibrary("lept"); } diff --git a/tess-two/src/com/googlecode/tesseract/android/PageIterator.java b/tess-two/src/com/googlecode/tesseract/android/PageIterator.java index f1afaf038..e6c3426fb 100644 --- a/tess-two/src/com/googlecode/tesseract/android/PageIterator.java +++ b/tess-two/src/com/googlecode/tesseract/android/PageIterator.java @@ -22,6 +22,7 @@ public class PageIterator { static { + System.loadLibrary("png"); System.loadLibrary("lept"); System.loadLibrary("tess"); } diff --git a/tess-two/src/com/googlecode/tesseract/android/ResultIterator.java b/tess-two/src/com/googlecode/tesseract/android/ResultIterator.java index 1e22790db..e9ebf01b1 100644 --- a/tess-two/src/com/googlecode/tesseract/android/ResultIterator.java +++ b/tess-two/src/com/googlecode/tesseract/android/ResultIterator.java @@ -33,6 +33,7 @@ */ public class ResultIterator extends PageIterator { static { + System.loadLibrary("png"); System.loadLibrary("lept"); System.loadLibrary("tess"); } diff --git a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java index f6275cda9..a9dfae0e7 100644 --- a/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java +++ b/tess-two/src/com/googlecode/tesseract/android/TessBaseAPI.java @@ -40,6 +40,7 @@ public class TessBaseAPI { private long mNativeData; static { + System.loadLibrary("png"); System.loadLibrary("lept"); System.loadLibrary("tess"); diff --git a/tess-two/src/com/googlecode/tesseract/android/TessPdfRenderer.java b/tess-two/src/com/googlecode/tesseract/android/TessPdfRenderer.java index a60fe0058..b68837bce 100644 --- a/tess-two/src/com/googlecode/tesseract/android/TessPdfRenderer.java +++ b/tess-two/src/com/googlecode/tesseract/android/TessPdfRenderer.java @@ -27,6 +27,8 @@ public class TessPdfRenderer { private final long mNativePdfRenderer; static { + System.loadLibrary("png"); + System.loadLibrary("lept"); System.loadLibrary("tess"); }