module Booh
$verbose_level = 2
$CURRENT_CHARSET = `locale charmap`.chomp
+ #- check charset availability. a locale configuration of C or POSIX yields the unsupported 'ANSI_X3.4-1968'.
+ begin
+ REXML::XMLDecl.new(REXML::XMLDecl::DEFAULT_VERSION, $CURRENT_CHARSET)
+ rescue
+ $CURRENT_CHARSET = 'UTF-8'
+ end
$convert = 'convert -interlace line +profile "*"'
$convert_enhance = '-contrast -enhance -normalize'