Changeset 35
- Timestamp:
- 13.11.2006 16:53:04 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr/Config.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr/Config.pm
r31 r35 41 41 our @paths = qw(/usr/local/netpbm/bin /usr/local/bin /usr/bin); 42 42 43 my @img_types = qw/gif png jpeg bmp tiff/; 44 43 45 # Default thresolds 44 46 $Threshold{s} = … … 236 238 237 239 foreach (@bin_utils) { 238 push (@cmds, {240 push (@cmds, { 239 241 setting => 'focr_bin_'.$_, 240 242 type => $Mail::SpamAssassin::Conf::CONF_TYPE_STRING 241 243 }); 244 } 245 246 foreach (@img_types) { 247 push (@cmds, { 248 setting => 'focr_skip_'.$_, 249 default => 0, 250 type => $Mail::SpamAssassin::Conf::CONF_TYPE_BOOL 251 }); 252 push (@cmds, { 253 setting => 'focr_max_size_'.$_, 254 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 255 }); 242 256 } 243 257 … … 277 291 debuglog("Using $a => ".$conf->{"focr_bin_$a"}); 278 292 } else { 279 debuglog("Cannot find executable for $a");293 debuglog("Cannot find executable for $a"); 280 294 } 281 295 }
