openbsd-ports/mail/p5-FuzzyOcr/patches/patch-FuzzyOcr_scansets
2012-07-17 09:37:12 +00:00

21 lines
680 B
Plaintext

$OpenBSD: patch-FuzzyOcr_scansets,v 1.3 2012/07/17 09:37:12 giovanni Exp $
--- FuzzyOcr.scansets.orig Tue Jul 17 11:33:42 2012
+++ FuzzyOcr.scansets Tue Jul 17 11:34:24 2012
@@ -20,14 +20,14 @@ scanset ocrad-invert {
# Inverted Ocrad scanset with decolorization
scanset ocrad-decolorize-invert {
- preprocessors = ppmtopgm, pamthreshold, pamtopnm
+ preprocessors = ppmtopgm, pamditherbw, pamtopnm
command = $ocrad
args = -s5 -i $input
}
# Ocrad scanset with decolorization
scanset ocrad-decolorize {
- preprocessors = ppmtopgm, pamthreshold, pamtopnm
+ preprocessors = ppmtopgm, pamditherbw, pamtopnm
command = $ocrad
args = -s5 $input
}