Subject: | Fix for test failures. |
The reason for the test failures is the convert is incorrect. You're generating these errors under the hood,
Show quoted text
> Error in pixReadFromTiffStream: spp not in set {1,3}
And you're silently failing because of that. These errors are generated because convert is generating tif files that Tesseract's Leptonica library can not read,
Just change your @arg internally to this, and all the tests will pass.
my @arg = (
$WHICH_CONVERT,
, $abs_img,
, qw/-density 300/,
, qw/-compress none/,
, qw/-depth 8/,
, qw/-background white/,
, qw/-alpha Off/,
, $abs_out
);