pbmshift(1)

pbmshift1

Shift a pbm-p4-file to the right lower corner

Usage

pbmshift infile topmargin leftmargin outfile

Overview

Pbmshift reads a PBM file in P4 format and produces a new PBM file in P4 format. The output is shifted to the right by leftmargin pixels and to the lower by topmargin pixels. This tool can be used to modify the image produced as export output of the VCG tool from a graph before printing it on paper. In this way, margins can be produced to position the image on the paper. Negative margins are allowed.

Warning

This utility does not work with the PBM-P1-format !!! It is not a general conversion utility but only a small demonstation how to deal with the output of the VCG tool. There are excellent standard utilities for PBM-Files by Jef Poskanzer (pnmmargin) but pbmshift should be much faster on large files.

Acknowledgement

Jef Poskanzer is the initiator and main implementor of the PBM package that contains various image processing routines and printer drivers.

Releases

Unchanged in 2 releases since Debian 3.0 (Woody).

  1. 3.0–3.1

Bugs

Currently, no bugs are known.

Author

Georg Sander, University of Saarland.

From vcg 1.30debian-2 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.