Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/pnm2ppa/en/ drwxr-xr-x |
Viewing file: Select action/file-type: Color correction for pnm2ppaThe pnm2ppa project team ppa-rpms@users.sourceforge.netv0.6, October 28, 2000Information and instructions for color correction of pnm2ppa color printing. http://sourceforge.net/projects/pnm2ppa (Updated for pnm2ppa-1.0 and later.) Overview of Color correction. Color Pixmap input to Color correction allows the user to attempt to match the printed colors to some reference colors, such as those displayed on the terminal, or those printed on a different printer, or those printed on the same printer with a different driver (such as the Win9x drivers supplied by HP with their PPA printers).
The color output from
Color correction is specified by three color intensity
functions (curves), one for each of
Red, Green, and Blue. In their simplest form, these curves
have a standard form controlled
by a single "gamma" parameter such as
Note that, in principle, different color corrections are needed for different print quality settings, and for different brands and qualities of paper! At present the methods for constructing a color correction for
Color correction with "gamma" values in the configuration file. The PixMap (ppa) format specifies colors by an intensity for
each primary color, Red, Green and Blue, in the range 0-255, so
(0,0,0) is black, and (255,255,255) is white.
The standard color intensity enhancement function replaces the ppm
intensity
You can specify the Gamma values in the configuration file
as decimal numbers A source of information on Gamma color correction is www.cgsd.com/papers/gamma.html
One method for constructing a Gamma correction
has been built into
You must first use pnm2ppa to print a color test page, and then
generate a file
(replace /dev/lp0 by whatever printer device your PPA printer uses,
or use ... -o - | lpr -l , etc.). Note also that
as pnm2ppa is not receiving any ghostscript input to tell it
the paper size, this must be correctly specified by a configuration
file entry or, e.g., a -s a4 option, if the default US Letter
paper is not being used. This procedure will print a color calibration
page.
The printed output is an array of sets of three colored bands, red, blue and green, each of which increases in brightness from left to right. The topmost set of bands should be referrred to as bands "0", the next ones as "1", etc. Next, run the extra program
This will produce the PixMap file as
gamma.ppm in the current directory.
To color-correct the printer so that its colors match those on the
terminal screen,
you should now attempt to view the file
(i.e., no color correction).
Enter your modified values for these in the pnm2ppa
configuration file (usually /etc/pnm2ppa.conf ).
The actual Gamma value is then 1.0 - 0.033*(Color)GammaIdx ; To color-correct with respect to another printer (or the Win9x drivers),
you must manage to print Color correction using a "gamma file". A "gamma correction file" is a binary file containing 3 x 256 numbers, which are lookup tables of corrected red green and blue color intensities. The program
Currently, there are two available tools for constructing a gamma correction file:
Next Previous Contents |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0154 ]-- |