Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Hints
Perl extension for posterizing PostScript

Hints - Perl extension for posterizing PostScript


NAME

Hints - Perl extension for posterizing PostScript


SYNOPSIS


        use PostScript::Poster;

        my $poster = new PostScript::Poster;

        $poster->posterize(-infile => 'a.ps', -outfile => 'b.ps',

                -media => 'a4');


DESCRIPTION

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.


THE POSTSCRIPT::POSTER CLASS

new

Constructor create instance of PostScript::Poster class.


        my $poster = new PostScript::Poster;

posterize

Posterize -infile to -outfile according to arguments.

Parameters:
-infileinput file name
-outfileoutput file name
-insizeinput image size
-cutmarginhorizontal and vertical cutmargin
-whitemarginhorizontal and vertical additional white margin
-mediamedia paper size
-posteroutput poster size
-scalelinear 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');


VERSION

0.02


AUTHOR

(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).


SEE ALSO

perl(1), svplus(1).

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy