Pgmramp User Manual   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
Section: Misc. Reference Manual Pages (0)
Updated: 04 June 2002
Sommaire

 




NAME   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

pgmramp - generate a grayscale ramp

 




SYNOPSIS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

pgmramp -lr|-tb|-rectangle|-ellipse -maxval=maxval width height

All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value.

 




DESCRIPTION   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

This program is part of Netpbm(1).

Generates a graymap of the specified size containing a black-to-white ramp. These ramps are useful for multiplying with other images, using pamarith.

The ramp is linear in brightness, not intensity. I.e. the gamma-corrected sample values in the PGM rise linearly with distance from the corner of the image. If you want a ramp that is linear in light intensity, use pnmgamma with pgmramp.

To generate a simple ramp of all the values from 0 to maxval, and not necessarily a graphic image, use pamseq(1).

ppmrainbow does something similar to what pgmramp does, but for color. The image fades between two colors of your choice.

 




OPTIONS   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

You must specify exactly one of the ramp type options.

-lr
A left to right ramp.

-tb
A top to bottom ramp.

-rectangle
An outside-in rectangular ramp. It is black around the edges and white in the center.

-ellipse
An outside-in elliptical ramp. It is black around the edge and white in the center.

-maxval=maxval

     The maxval for the generated image.  Default is 255.


     This option did not exist before June 2002.  Before, the maxval was
     always 255.
     

 



SEE ALSO   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil
pamarith(1), pnmgamma(1), pamseq(1), ppmrainbow(1), pamgradient(1), pgm(1)

 




AUTHOR   Début   Précédent   Suivant   Sommaire   Préc.page.lue   Accueil

Copyright (C) 1989 by Jef Poskanzer.


 



Sommaire   Début   Suivant   Sommaire   Préc.page.lue   Accueil
NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

Table des mots clés   Début   Suivant   Sommaire   Préc.page.lue   Accueil
-ellipseOPTIONS
-lrOPTIONS
-maxval=maxvalOPTIONS
-rectangleOPTIONS
-tbOPTIONS



Ce document a été créé par man2html suivi de man2html.pl, le 17/10/2008 17:56:29, en utilisant les pages de 'man'.
 

Valid HTML 4.01 Transitional