1Pamhue User Manual(0)                                    Pamhue User Manual(0)
2
3
4

NAME

6       pamhue - change a Netpbm image's Hues
7
8

SYNOPSIS

10       pamhue [-huechange=[degrees]] filename
11
12       Minimum  unique abbreviation of option is acceptable.  You may use dou‐
13       ble hyphens instead of single hyphen to denote options.   You  may  use
14       white space in place of the equals sign to separate an option name from
15       its value.
16
17

DESCRIPTION

19       This program is part of Netpbm(1).
20
21       pamhue shifts the hue of every pixel in an image by the same amount.
22
23       If the image is in a black and white or grayscale format, the image  is
24       fully  desaturated,  so  the  hue  is meaningless and pamhue leaves the
25       image unchanged.
26
27       Hue-Saturation-Value, or HSV, is one way to represent a color, like the
28       more  well-known RGB.  Hue is an indication of the secondary color with
29       the same brightness that most closely approximates the color.   A  sec‐
30       ondary  color  is  made  of a combination of at most two of the primary
31       colors.
32
33       In the HSV model, hue is an angular position on the color wheel.
34
35       With pamhue, you indicate an angle by which to change all the  hues  in
36       the image; for example you can say move it 60 degrees clockwises.  That
37       would change all red pixels to yellow and all yellow pixels  to  green,
38       etc.
39
40
41       To  modify  the saturation and value components of the colors, use pam‐
42       brighten.
43
44
45

EXAMPLES

47       To shift the color of each pixel 120 degrees clockwise:
48       pamhue -huechange=120
49
50       To shift the color of each pixel 120 degrees counterclockwise:
51       pamhue -huechange=-120
52
53
54

OPTIONS

56       -huechange=degrees
57              This option specifies the amount to shift each color.  It is  in
58              degrees,  with  positive  meaning clockwise and negative meaning
59              counterclockwise.  It may be fractional and may be more  than  a
60              full revolution.
61
62              This option is mandatory.
63
64
65
66

HISTORY

68       pamhue was new in Netpbm 10.86 (March 2019).
69
70
71

SEE ALSO

73       pambrighten(1), ppmflash(1), ppmhist(1), ppm(1)
74
75

AUTHOR

77       Copyright  (C)  2018 by Willem van Schaik.  Copyright (C) 1990 by Brian
78       Moffet.  Copyright (C) 1989 by Jef Poskanzer.
79
80       Permission to use, copy, modify, and distribute this software  and  its
81       documentation  for  any purpose and without fee is hereby granted, pro‐
82       vided that the above copyright notice appear in  all  copies  and  that
83       both  that  copyright  notice and this permission notice appear in sup‐
84       porting documentation.  This  software  is  provided  "as  is"  without
85       express or implied warranty.
86

DOCUMENT SOURCE

88       This  manual  page was generated by the Netpbm tool 'makeman' from HTML
89       source.  The master documentation is at
90
91              http://netpbm.sourceforge.net/doc/pamhue.html
92
93netpbm documentation            07 January 2018          Pamhue User Manual(0)
Impressum