Settings Help
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/graphics/degrade

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

Requirements:
-------------
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 "degrade.sh"
this package works only on Unix-like systems.

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

Commands:
---------
\DegSetup{key=value,...}
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
  (default=degrade)
* 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}

Author:
-------
Peter M�nster, email: pmrb at free.fr

Files

Name Size Date Notes
README 1084 2002-12-19 01:41:00
degrade.sh 675 2002-12-18 11:05:00
degrade.sty 1941 2002-12-18 11:05:00

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (2.4k).

de­grade – De­grade JPEG im­ages on the fly, prior to in­clu­sion

De­grade is a LaTeX pack­age that de­grades JPEG im­ages on the fly to de­crease the size of the re­sult­ing PostScript or PDF file. It uses the con­vert util­ity from the ImageMag­ick bun­dle as well as jpeg2ps (if you're pro­duc­ing PostScript out­put).

Doc­u­men­ta­tion
Li­censeThe LaTeX Project Public Li­cense
Copy­right2002 Peter Mün­ster
Main­tainerPeter Mün­ster
Topics pre­pare graph­ics for use with *TeX
See also context-degrade
Guest Book Sitemap Contact 2014-04-20 07:49 CEST