ppmdither(1) General Commands Manual ppmdither(1)NAME
ppmdither - ordered dither for color images
SYNOPSIS
ppmdither [-dim power] [-red shades] [-green shades] [-blue shades] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input, and applies dithering to it to reduce the number of colors used down to the specified number of shades
for each primary. The default number of shades is red=5, green=9, blue=5, for a total of 225 colors. To convert the image to a binary rgb
format suitable for color printers, use -red 2 -green 2 -blue 2.
OPTIONS -dim power The size of the dithering matrix. The dithering matrix is a square whose dimension is a power of 2. power is that power of
2. The default is 4, for a 16 by 16 matrix.
-red shades The number of red shades to be used, including black; minimum of 2.
-green shades The number of green shades to be used, including black; minimum of 2.
-blue shades The number of blue shades to be used, including black; minimum of 2.
SEE ALSO pnmdepth(1), ppmquant(1), ppm(5)AUTHOR
Copyright (C) 1991 by Christos Zoulas.
14 July 1991 ppmdither(1)
Check Out this Related Man Page
ppmdither(1) General Commands Manual ppmdither(1)NAME
ppmdither - ordered dither for color images
SYNOPSIS
ppmdither [-dim power] [-red shades] [-green shades] [-blue shades] [ppmfile]
DESCRIPTION
Reads a portable pixmap as input, and applies dithering to it to reduce the number of colors used down to the specified number of shades
for each primary. The default number of shades is red=5, green=9, blue=5, for a total of 225 colors. To convert the image to a binary rgb
format suitable for color printers, use -red 2 -green 2 -blue 2.
OPTIONS -dim power The size of the dithering matrix. The dithering matrix is a square whose dimension is a power of 2. power is that power of
2. The default is 4, for a 16 by 16 matrix.
-red shades The number of red shades to be used, including black; minimum of 2.
-green shades The number of green shades to be used, including black; minimum of 2.
-blue shades The number of blue shades to be used, including black; minimum of 2.
SEE ALSO pnmdepth(1), ppmquant(1), ppm(5)AUTHOR
Copyright (C) 1991 by Christos Zoulas.
14 July 1991 ppmdither(1)
I have a file something like this (except much larger amount of rows/data)
0001 blue testing1
0002 blue testing2
0006 blue testing3
0232 red testing4
2143 blue testing5
3453 blue testing6
In a script I want to replace the word red with blue where the line begins with a... (4 Replies)
Can anyone help me on this. I have a file that looks like this:
color red green blue
color pink yellow
number one two
gender male
gender female
The output would look like this:
color red green blue pink yellow
number one two
gender male female
I have over 5000 rows and i dont want... (5 Replies)
Hi there, if i had a file that looked like this
my_server1
red
green
blue
yellow
blue
my_server2
blue
blue
yellow
green
blue
my_server3
yellow (9 Replies)
Hi there all again,
I am building a menu script for viewing packages and deamons and printers and all..
I know how to collor text to red or green.
But I get my results from status and put it in a array.
How can I change a result that is standing in a array to build collor around it.
For... (6 Replies)
Hi, suppose I have a colon delimeterd file with address field like this
blue:john's hospital new haven CT 92881-2322
yellow:La times copr red road los angeles CA90381 1302
red:las vegas hotel sand drive Las vegas NV,21221
How do I create a new field that contain the zip code information... (3 Replies)
My script prints lines in which the entire line may be colored, and portions may also be colored. e.g.
Consider this to be one line:
$red some text in red $yellow abcd $end_yellow red text 1234 $blue some text $end_blue more red text $end_red
So using sed, I may based on condition 1,... (5 Replies)
Hi frinds,
Need your help.
item , color ,desc
==== ======= ====
1,red ,abc
1,red , a b c
2,blue,x
3,black,y
4,brown,xv
4,brown,x v
4,brown, x v
I have to elemnet the duplicate rows on the basis of item.
the final out put will be
1,red ,abc (6 Replies)
Does anyone know how I can create a file like this:
blue 0
red 0
yellow 0
green 0
orange 0
blue 2
red 2
yellow 2
green 2
orange 2
blue 4
red 4
yellow 4
green 4
orange 4
blue 6
red 6 (5 Replies)
UNIX Friends,
Came in this morning to a downed E450 - thought it had been a power disaster. But wasn't! Machine had apparently shut itself down.
All three power supplies are double-green, and case interlock switch is closed...
As this is the first time we've had such a catastrophic(?)... (5 Replies)
Hi all
I am trying to scan a file that has 3 columns:
red blue 123351
red blue 848655
red blue 126354
red blue 023158
black white 654896
red blue 650884
I want an output that sums the rows that have matching columns 1 and 2 :wall:
red blue has 5 entries
black white has 1 entry
... (4 Replies)
hey,
i would like to add a line number to the beginning like so:
red
blue
green
yellow
will be:
1=>red
2=>blue
3=>green
4=>yellowplease advise
thank u. (5 Replies)
Hi
How to remove white space from this input:|blue | 1|
|green| 4|
|black| 2|
I like to search for green and get 4not 4
How to modify this to work correct:awk -F"|" '/green/ {print $3} (7 Replies)
Say I have a for loop that parse through a file....Say it look for the colors red and blue in sections of the file. Say it find red before it find blue in the file.
Say I have two if statements in the for loop
Something like if blue is found print blue is my favorite color is the first if... (7 Replies)