Index of /graphics/degrade
      Name                    Last modified       Size  Description

[DIR] Parent Directory 15-Jan-2021 01:05 - [   ] 18-Dec-2002 21:05 1k [TXT] degrade.sty 18-Dec-2002 21:05 2k

This package degrades JPEG images on the fly to a given resolution to decrease
the size of the resulting PostScript or PDF file.

You'll need the convert utility from the ImageMagick bundle and the jpeg2ps
program from CTAN if you don't use VTeX. Because of the script ""
this package works only on Unix-like systems.

Put the script "" in your $PATH and make it executable.
Put "degrade.sty" in a place where TeX can find it.

Known keys are:
* res to set the resolution in dpi (default=100, example: res=300)
* dir to set the directory where to put the resized jpeg files
* sdir to set the directory where images should be found in general
  (default: current directory)

\degimage[w|h]{width or height}{image}
Use this instead of \includegraphics to include your image.
example 1: \degimage{\linewidth}{flower},
example 2: \degimage[h]{0.5\textheight}{power}

Peter Münster, email: pmrb at