---
name: "pbmshift"
section: "1"
platform: "linux"
package: "vcg"
version: "1.30debian-2"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/pbmshift"
---

# pbmshift(1)

shift a PBM-P4-file to the right lower corner

## NAME

pbmshift - shift a PBM-P4-file to the right lower corner

## SYNOPSIS

**pbmshift** infile topmargin leftmargin outfile

## DESCRIPTION

*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.

## SEE ALSO

vcg(l) pnmmargin(l) pbmrot90(l) pbm2hp(l)

## BUGS

Currently, no bugs are known.

## ACKNOWLEDGEMENT

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

## AUTHOR

Georg Sander, University of Saarland.
