.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. Pamgetcolor User Manual - Online Linux Manual PageSection : 0
Updated : 18 May 2018
Source : netpbm documentation
NAMEpamgetcolor - display the average colors from specified regions in an image. .UN synopsis
SYNOPSISpamgetcolor [-format format] [-radius radius] [-linear] [-infile pamfile] region1 [region2 ...] .UN description
DESCRIPTIONThis program is part of Netpbm(1). pamgetcolor prints the average colors of a set of circular regions in the input image. You specify a region as a positional argument of the form column,row[:label], where column and row are the coordinates of the center of the circle (first row of pixels is row 0; leftmost column of pixels is column 0), and label an optional label that pamgetcolor shall display to identify that region in its output. All regions have he same radius, specified by the -radius option. The region centers must lie within the image, but part of a region may fall outside the image; pamgetcolor considers only the part that is within the image in calculations. .UN examples
EXAMPLESTo read the color of the pixel at location (10,14) in the default format:
pamgetcolor 10,14 -infile test.ppm
To read the colors of three pixels in the default format, assigning a label to each pixel:
pamgetcolor 10,10:topleft 100,100:middle 200,200:bottomright -infile test.ppm
To read with 16-bit precision the average color in the circle with a radius of four pixels and the center at (100,100):
pamgetcolor -format int:65535 -radius 4 100,100 -infile test.ppm
.UN options
OPTIONSIn addition to the options common to all programs based on libnetpbm (most notably -quiet, see
Common Options ), pamgetcolor recognizes the following command line options: -format This specifies the format in which to output the colors. The output is always a Netpbm color specification ; this format tells which of the various specifications for the same color the program uses. This argument is of the form formatId[:param], where formatId specifies the format and param is a positive integer parameter that, depending on formatId, indicates either precision or normalization. The following values are possible for formatId: int Samples are decimal integers normalized to the maxval specified by param. Example: rgb-255:255/128/64 This format is the default, with a maxval of 255. norm Samples are floating point numbers normalized to unity. E.g. rgbi:1.0/0.5/.25 param specifies precision as the number of digits in the fractional part. x11 Samples are hexadecimal numbers with param digits, e.g. rgb:01/ff/8000 -radius sets the radius of the regions. A value of zero causes pamgetcolor to measure a single pixel and is the default. -infile This specifies the Netpbm file to analyze. If you don't specify this option, pamgetcolor reads the image from Standard Input. -linear This tells pamgetcolor to work with the intensity-linear variation of Netpbm images where the samples are proportional to light intensity rather than to brightness, as in true (gamma-adjusted) Netpbm formats. .UN seealso
SEE ALSO"pnmcolormap(1), .UN author
AUTHORThis program was first submitted by Anton Shepelev (anton.txt@gmail.com). .UN history
HISTORYThis program was new in Netpbm 10.83 (June 2018). .UN index
Table Of Contents• SYNOPSIS • DESCRIPTION • EXAMPLES • OPTIONS • SEE ALSO • AUTHOR • HISTORY
DOCUMENT SOURCEThis manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at http://netpbm.sourceforge.net/doc/pamgetcolor.html 0
Johanes Gumabo
Data Size : 17,011 byte
man-pamgetcolor.1Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 260,706
Visitor ID : :
Visitor IP : 52.15.244.11 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence|91|pamgetcolor.1|1/2|\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
) (parse_manual_page_|252|pamgetcolor.1|1/2|\"|.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
) (parse_manual_page_|252|pamgetcolor.1|11|UN|.UN synopsis
) (parse_manual_page_|252|pamgetcolor.1|21|UN|.UN description
) (parse_manual_page_|252|pamgetcolor.1|42|UN|.UN examples
) (parse_manual_page_|252|pamgetcolor.1|76|UN|.UN options
) (parse_manual_page_|252|pamgetcolor.1|144|UN|.UN seealso
) (parse_manual_page_|252|pamgetcolor.1|151|UN|.UN author
) (parse_manual_page_|252|pamgetcolor.1|157|UN|.UN history
) (parse_manual_page_|252|pamgetcolor.1|162|UN|.UN index
)