---
name: "configure-pstoimg"
section: "1"
platform: "linux"
package: "latex2html"
version: "98.1-pre2-b6-2"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/configure-pstoimg"
---

# configure-pstoimg(1)

configures pstoimg for your system

## NAME

configure-pstoimg - configures pstoimg for your system

## SYNOPSIS

**configure-pstoimg** *\[options\]* **\[OPT=VAL \[OPT2=VAL2 \[...\]\]\]**

## DESCRIPTION

This manual page explains the Debian **configure-pstoimg** utility, which configures pstoimg for your system.  **pstoimg** converts a  *Postscript* file to either a  **PNG** or **GIF** format image.

## OPTIONS

- **-h**

  Show a usage message.

- **-png**

  Configure pstoimg for PNG image format

- **-gif**

  Configure pstoimg for GIF image format

## VARIABLES

Variables are set with a command line argument of the form **OPT=VAL.** The options are

**General options:**

- **PATH**

  A colon-separated list of directories where to look for executables. Your environment  **PATH** is searched automatically.

**Ghostscript options:**

- **GS**

  Name (not path) of the Ghostscript executable

- **GS\_DEVICE**

  Ghostscript output device (pnmraw recommended)

**Netpbm/Pbmplus Options:**

- **PNGTOPNM**

  Name (not path) of the pnmtopng executable (default: pnmtopng)

- **PPMTOGIF**

  Name (not path) of the ppmtogif executable (default: ppmtogif)

- **PPMQUANT**

  Name (not path) of the pnmquant executable (default: ppmquant)

- **PNMCROP**

  Name (not path) of the pnmcrop executable (default: pnmcrop)

- **PNMFLIP**

  Name (not path) of the pnmflip executable (default: pnmflip)

- **PNMFILE**

  Name (not path) of the pnmfile executable (default: pnmfile)

- **PBMMAKE**

  Name (not path) of the pbmmake executable (default: pbmmake)

- **PNMCAT**

  Name (not path) of the pnmcat executable (default: pnmcat)

- **GIFTOOL**

  Name (not path) of the giftool executable (default: giftool)

- **GIFTRANS**

  Name (not path) of the giftrans executable (default: giftrans)

## CAVEATS

For best performance, your system should have the following packages: *Ghostscript-4.03, netpbm-1mar1994, pnmtopng-2.31* These packages are freely available from any major ftp site, and the first two are  **Debian** packages.

## FILES

This modifies a file called Local.pm that is referred to by by  **pstoimg** On debian systems, it has been modified to edit the Local.pm in the **LaTeX2HTML** directory.

## AUTHOR

This manual page was written Manoj Srivastava \<srivasta@debian.org\>, for the Debian GNU/Linux system.
