Author image Hervé Perdry

NAME

Acme::PDF::rescale - A stupid module just to get trained with CPAN.

SYNOPSIS

  use Acme::PDF::rescale qw(:all);

DESCRIPTION

Overview

I just wrote this module to learn how to upload something on CPAN.

Anyway, you may find the pdfrescale script useful. It is installed with the module. It has its own documentation. It allows to rescale a pdf file, using a dirty trick : it creates a LaTeX file and calls pdflatex (uses the pdfpages package).

Methods

Useless subs were written, so that there is actually a module and not just a script. If you really want to use this, you'd better read the script itself.

    base_name(pdffilename)

    make_tex_file(basename, pdffilename, scale, offset)

    compile_tex_file(basename)

    clean_tex_files(basename)