Hints - Perl extension for posterizing PostScript |
Hints - Perl extension for posterizing PostScript
use PostScript::Poster;
my $poster = new PostScript::Poster;
$poster->posterize(-infile => 'a.ps', -outfile => 'b.ps', -media => 'a4');
Posterizing PostScript like external program poster. Based on source of Jos T.J. van Eijdnhoven <J.T.J.v.Eijndhoven@ele.tue.nl> poster from The Netherlands from 1999.
Constructor create instance of PostScript::Poster class.
my $poster = new PostScript::Poster;
Posterize -infile to -outfile according to arguments.
Parameters: | ||
-infile | input file name | |
-outfile | output file name | |
-insize | input image size | |
-cutmargin | horizontal and vertical cutmargin | |
-whitemargin | horizontal and vertical additional white margin | |
-media | media paper size | |
-poster | output poster size | |
-scale | linear scale factor for poster |
You must use at least one of -scale, -poster or -media parameters and you can't use -scale and -poster simultaneously. -insize, -media and -poster parameters are box parameter like 'A4', '3x3letter', '10x25cm', '200x200+10,10p' etc. Margins are classic box parameters or percentual number like '200%' etc.
Default values are -media => A4, -cutmargin => 5% and -insize readed from input file.
$poster->posterize(-infile => 'a.ps', -outfile => 'b.ps', -media => 'a4');
0.02
(c) 2001-02 Milan Sorm, sorm@pef.mendelu.cz at Faculty of Economics, Mendel University of Agriculture and Forestry in Brno, Czech Republic.
This module was needed for making SchemaView Plus (svplus
).
perl(1), svplus(1).
Hints - Perl extension for posterizing PostScript |