"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "t/55_process_chain_w_delete2.t" between
gscan2pdf-2.11.1.tar.xz and gscan2pdf-2.11.2.tar.xz

About: gscan2pdf is a GUI to produce PDFs from scanned documents (using Perl).

55_process_chain_w_delete2.t  (gscan2pdf-2.11.1.tar.xz):55_process_chain_w_delete2.t  (gscan2pdf-2.11.2.tar.xz)
skipping to change at line 37 skipping to change at line 37
skip 'Tesseract not installed', 1 skip 'Tesseract not installed', 1
unless Gscan2pdf::Tesseract->setup($logger); unless Gscan2pdf::Tesseract->setup($logger);
skip 'unpaper not installed', 1 unless can_run('unpaper'); skip 'unpaper not installed', 1 unless can_run('unpaper');
my $unpaper = Gscan2pdf::Unpaper->new; my $unpaper = Gscan2pdf::Unpaper->new;
my $vbox = Gtk3::VBox->new; my $vbox = Gtk3::VBox->new;
$unpaper->add_options($vbox); $unpaper->add_options($vbox);
# Create b&w test image # Create b&w test image
system( system(
qw(convert +matte -depth 1 -colorspace Gray -pointsize 12 -density 300), qw(convert +matte -depth 1 -colorspace Gray), '-family', 'DejaVu Sans', qw(-pointsize 12 -density 300),
'label:The quick brown fox', 'label:The quick brown fox',
qw(-rotate -90 test.pnm) qw(-rotate -90 test.pnm)
); );
my %options = ( my %options = (
filename => 'test.pnm', filename => 'test.pnm',
to_png => 1, to_png => 1,
rotate => 90, rotate => 90,
unpaper => $unpaper, unpaper => $unpaper,
ocr => 1, ocr => 1,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)