Man page - pampaintspill(1)
Packages contains this manual
- pamtoxvmini(1)
- srftopam(1)
- mgrtopbm(1)
- pamperspective(1)
- sirtopnm(1)
- hipstopgm(1)
- ppmhist(1)
- pamsharpness(1)
- pamtopnm(1)
- pamarith(1)
- pamtowinicon(1)
- yuvtoppm(1)
- rawtopgm(1)
- pnmtoddif(1)
- pamoil(1)
- pnmsplit(1)
- pbmtolps(1)
- pcxtoppm(1)
- ilbmtoppm(1)
- ppmpat(1)
- pamrecolor(1)
- cmuwmtopbm(1)
- pbmupc(1)
- yuvsplittoppm(1)
- ppmbrighten(1)
- pnmindex(1)
- pgmnoise(1)
- pgmkernel(1)
- ppmdither(1)
- netpbm(1)
- rletopnm(1)
- pamfind(1)
- pamwipeout(1)
- pamrubber(1)
- pnmcat(1)
- pgmramp(1)
- ppmtomap(1)
- pammasksharpen(1)
- pbmtoybm(1)
- pnmtopnm(1)
- ppmtoyuv(1)
- pnmnlfilt(1)
- faxformat(1)
- pamtopfm(1)
- pnmtosgi(1)
- svgtopam(1)
- pgmdeshadow(1)
- pamenlarge(1)
- pbmtosunicon(1)
- pamlookup(1)
- pamchannel(1)
- ppmlabel(1)
- mtvtoppm(1)
- pamedge(1)
- winicontopam(1)
- ppmglobe(1)
- pnmrotate(1)
- ppmrelief(1)
- ppmfade(1)
- lispmtopgm(1)
- pgmminkowski(1)
- pgmtopbm(1)
- pbmtoescp2(1)
- pi3topbm(1)
- pnmscale(1)
- pbmto10x(1)
- pnmtorle(1)
- pbmclean(1)
- pbmtomgr(1)
- ppmtoneo(1)
- pamtohdiff(1)
- spottopgm(1)
- pamcomp(1)
- ppmtogif(1)
- pambayer(1)
- pamhomography(1)
- pamtouil(1)
- escp2topbm(1)
- pnmconvol(1)
- ppmdcfont(1)
- qrttoppm(1)
- rlatopam(1)
- ppmtoterm(1)
- ppmforge(1)
- hdifftopam(1)
- pnmtopclxl(1)
- pnmcrop(1)
- imagetops(1)
- pamtofits(1)
- pnmtopalm(1)
- pnmquant(1)
- pbm(5)
- pbmtox10bm(1)
- pbmpscale(1)
- pbmmake(1)
- macptopbm(1)
- pgmtosbig(1)
- zeisstopnm(1)
- bmptoppm(1)
- pjtoppm(1)
- sgitopnm(1)
- pbmtocmuwm(1)
- pnmalias(1)
- pamsplit(1)
- pambackground(1)
- pamdice(1)
- ppmtobmp(1)
- pbmtogem(1)
- rgb3toppm(1)
- ppmtoapplevol(1)
- g3topbm(1)
- ppmtoyuvsplit(1)
- ppmtopcx(1)
- pamditherbw(1)
- pnmgamma(1)
- pamcat(1)
- ppmtoxpm(1)
- sbigtopgm(1)
- pammosaicknit(1)
- pnmdepth(1)
- pamstretch-gen(1)
- pamtilt(1)
- ppmddumpfont(1)
- spctoppm(1)
- xpmtoppm(1)
- pamtosrf(1)
- pampick(1)
- pbmtoptx(1)
- ppmspread(1)
- pnmtojbig(1)
- ppmshadow(1)
- winicon(1)
- pbmtomda(1)
- pbmtocis(1)
- wbmptopbm(1)
- pamgetcolor(1)
- pnmarith(1)
- pammixmulti(1)
- pamfile(1)
- pbmtoatk(1)
- pamrestack(1)
- pnmquantall(1)
- pam(5)
- pbmtoln03(1)
- pbmtext(1)
- ppmshift(1)
- pbmtoxbm(1)
- pnmremap(1)
- pamtopam(1)
- leaftoppm(1)
- pnmpaste(1)
- pamstretch(1)
- pnmflip(1)
- pamdepth(1)
- ppmtoeyuv(1)
- pampop9(1)
- pamshuffle(1)
- pgmtolispm(1)
- pgmtofs(1)
- pgmabel(1)
- pnmtops(1)
- ppmtoppm(1)
- pbmmask(1)
- winicontoppm(1)
- cameratopam(1)
- ppmwheel(1)
- pamtojpeg2k(1)
- ppmtoarbtxt(1)
- pgmtopgm(1)
- pambrighten(1)
- pnminterp(1)
- pamhue(1)
- ppmtopgm(1)
- sldtoppm(1)
- pnmstitch(1)
- mrf(1)
- ppmtoleaf(1)
- ppmtojpeg(1)
- pamsharpmap(1)
- pngtopnm(1)
- pbmtomacp(1)
- fitstopnm(1)
- pnmcut(1)
- picttoppm(1)
- pamfix(1)
- pbmtodjvurle(1)
- extendedopacity(5)
- pnmmargin(1)
- pbmtogo(1)
- xbmtopbm(1)
- jpegtopnm(1)
- ppmtowinicon(1)
- icontopbm(1)
- pnminvert(1)
- pamx(1)
- pamtoqoi(1)
- pamtable(1)
- st4topgm(1)
- ppmflash(1)
- ybmtopbm(1)
- pamsistoaglyph(1)
- pamunlookup(1)
- pgmbentley(1)
- pbmpage(1)
- pnmsmooth(1)
- pamtotiff(1)
- fiascotopnm(1)
- asciitopgm(1)
- pnmtile(1)
- ppmtopj(1)
- neotoppm(1)
- pbmtonokia(1)
- pamseq(1)
- ppmntsc(1)
- ppmtosixel(1)
- pbmtopk(1)
- pamsumm(1)
- cistopbm(1)
- pammixinterlace(1)
- pamtodjvurle(1)
- pamtooctaveimg(1)
- pnmtosir(1)
- pgmoil(1)
- pamcrater(1)
- pbmtopgm(1)
- pamstack(1)
- pnmfile(1)
- pnmtotiffcmyk(1)
- pnmenlarge(1)
- pbmtoepsi(1)
- sputoppm(1)
- pi1toppm(1)
- pbmtopsg3(1)
- pbmtoicon(1)
- sunicontopnm(1)
- pnmpad(1)
- pnmcomp(1)
- tifftopnm(1)
- pbmtoibm23xx(1)
- ppmquantall(1)
- pamtris(1)
- pdbimgtopam(1)
- pbmtomatrixorbital(1)
- atktopbm(1)
- pbmtobbnbg(1)
- jpeg2ktopam(1)
- palmtopnm(1)
- pnmscalefixed(1)
- pktopbm(1)
- ximtoppm(1)
- pbmtolj(1)
- imgtoppm(1)
- pgm(5)
- pamundice(1)
- jbigtopnm(1)
- pamexec(1)
- pamstereogram(1)
- ppmtompeg(1)
- pampaintspill(1)
- pnmmontage(1)
- ppmtotga(1)
- pngtopam(1)
- pamfixtrunc(1)
- ppmtv(1)
- pfmtopam(1)
- ppmtopuzz(1)
- avstopam(1)
- ppmnorm(1)
- ppmtopi1(1)
- pbmtoepson(1)
- ddbugtopbm(1)
- pbmreduce(1)
- mrftopbm(1)
- pbmminkowski(1)
- ppmcolormask(1)
- qoitopam(1)
- pgmtexture(1)
- ppmtoacad(1)
- infotopam(1)
- pamshadedrelief(1)
- pamdeinterlace(1)
- ppmtorgb3(1)
- eyuvtoppm(1)
- pamlevels(1)
- ppmdraw(1)
- pgmenhance(1)
- pamthreshold(1)
- ppmtoascii(1)
- yuy2topam(1)
- pbmtoascii(1)
- pamcut(1)
- pbmtoppa(1)
- pnmtotiff(1)
- mdatopbm(1)
- pamtohtmltbl(1)
- brushtopbm(1)
- pgmmedian(1)
- pstopnm(1)
- pgmhist(1)
- fstopgm(1)
- ppmtouil(1)
- pnmpsnr(1)
- pbmtowbmp(1)
- anytopnm(1)
- pbmtozinc(1)
- pbmtog3(1)
- pamtoavs(1)
- thinkjettopbm(1)
- ppmtoilbm(1)
- pamtogif(1)
- ppmrainbow(1)
- 411toppm(1)
- pamvalidate(1)
- rasttopnm(1)
- pnmtoxwd(1)
- ppmquant(1)
- ppmdim(1)
- ppmdist(1)
- pgmmake(1)
- ppmcolors(1)
- pamaddnoise(1)
- pnmhisteq(1)
- pnmtoplainpnm(1)
- pbmnoise(1)
- pbmtopi3(1)
- ppm(5)
- gouldtoppm(1)
- pgmmorphconv(1)
- pnmnoraw(1)
- ppmrough(1)
- gemtopnm(1)
- pnmnorm(1)
- pnm(5)
- tgatoppm(1)
- pnmcolormap(1)
- gemtopbm(1)
- ppmdmkfont(1)
- pamtotga(1)
- pfm(5)
- ppmcie(1)
- pamgauss(1)
- pamscale(1)
- pamendian(1)
- ppmtoicr(1)
- pgmslice(1)
- pnmtorast(1)
- pamtopng(1)
- pamflip(1)
- pnmmercator(1)
- pc1toppm(1)
- pbmtextps(1)
- ppmtopict(1)
- xvminitoppm(1)
- ppmmix(1)
- ppmchange(1)
- pgmcrater(1)
- pgmtost4(1)
- pamtopdbimg(1)
- pcdindex(1)
- pamtompfont(1)
- pnmtofits(1)
- pcdovtoppm(1)
- ppm3d(1)
- giftopnm(1)
- pgmtoppm(1)
- pbmlife(1)
- pgmedge(1)
- rawtoppm(1)
- pamrgbatopng(1)
- pnmtopng(1)
- pbmtoplot(1)
- pamtosvg(1)
- ppmtopjxl(1)
- pgmnorm(1)
- pbmtomrf(1)
- pamslice(1)
- pnmshear(1)
- bmptopnm(1)
- xwdtopnm(1)
- ppmtomitsu(1)
- ppmmake(1)
- ppmtolj(1)
- pnmhistmap(1)
- psidtopgm(1)
- pamgradient(1)
- pnmtofiasco(1)
- bioradtopgm(1)
- pamfunc(1)
- pamaltsat(1)
- pnmtojpeg(1)
- pamsummcol(1)
- pbmto4425(1)
- ppmtospu(1)
apt-get install netpbm
Manual
Pampaintspill User Manual
NAMESYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
HISTORY
COPYRIGHT
Table Of Contents
DOCUMENT SOURCE
NAME
pampaintspill - smoothly spill colors into the background
SYNOPSIS
pampaintspill [ --bgcolor = color ] [ --wrap ] [ --all ] [ --downsample = number ] [ --near = number ] [ --power = number ] [ filename ] [ -randomseed= integer ]
Minimum unique abbreviations of option are acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value.
DESCRIPTION
This program is part of Netpbm (1).
pampaintspill produces a smooth color gradient from all of the non-background-colored pixels in an input image, effectively "spilling paint" onto the background. pampaintspill is similar to pamgradient but differs in the following characteristics:
|
• |
pampaintspill accepts any number of paint |
sources (non-background-colored
pixels), which can lie anywhere
on the canvas.
pamgradient
accepts exactly
four paint sources, one in each corner of the image.
|
• |
pampaintspill requires an input image while |
pamgradient
generates a
new image from
scratch.
|
• |
pampaintspill can produce tileable output and |
can control how tightly the
gradient colors bind to their source
pixels.
Results are generally best when the input image contains just a few, crisp spots of color. Use your drawing program’s pencil tool - as opposed to a paintbrush or airbrush tool - with a small nib.
OPTIONS
In addition to
the options common to all programs based on libnetpbm (most
notably
-quiet
, see
Common Options
),
pampaintspill
recognizes the following command line
options:
--bgcolor
=
color
Explicitly
specify the background color.
color
can be
specified using any of the formats accepted by the
pnm_parsecolor()
library routine
such as red or #ff0000. If
--bgcolor
is not specified,
pampaintspill
makes
an
educated guess about the background color based on the
colors in the
image’s corners.
|
--wrap |
Allow gradients
to wrap around image borders. That is, colors
that spill off the right side of the image reappear on the
left side of
the image and likewise for left/right, top/bottom, and
bottom/top.
--wrap
makes images tileable, which is
nice for
producing desktop backgrounds.
|
--all |
Recolor all
pixels, not just background pixels. Normally,
non-background-colored pixels in the input image appear
unmodified in
the output image. With
--all
,
all
pixels are
colored
based on their distance from all of the (other)
non-background-colored
pixels.
--downsample = number
Ignore all but
number
non-background-colored pixels.
When a large number of pixels in the input image differ in
color from
the background,
pampaintspill
runs very slowly. The
--downsample
option randomly selects a given number of
colored
pixels to use as paint sources for the gradients and ignores
the rest,
thereby trading off image quality for speed of
execution.
--near = number
Consider only
the nearest
number
paint sources when computing
a pixel’s new color. The default is to consider all
paint sources.
In most cases,
number
should be fairly small, or its
impact
will be minimal and execution time will increase
unnecessarily. A
value of 1 produces a coloring that looks a lot like a
Voronoi
diagram.
This option was new in Netpbm 10.97 (December 2021).
--power = number
Control how
color intensity changes as a function of the
distance from a paint source. The default value for
number
is
-2.0, which means that intensity drops (because of the minus
sign) with
the square (because of the 2.0) of the distance from each
paint
source. -2.0 generally works well in practice, but other
values can be
specified for various special effects. With very small
numbers of paint
sources, -1.0 may produce subtler gradients, but these get
muddier as
the number of paint sources increases. Positive numbers
(e.g., 1.0 and
2.0) make the paint sources stand out in the output image by
pushing the
gradients away from them.
-randomseed= integer
This is the
seed for the random number generator that generates the
pixels.
Use this to ensure you get the same image on separate invocations.
This option was new in Netpbm 10.94 (March 2021).
SEE ALSO
|
• |
pamgradient (1) |
|||
|
• |
ppmmake (1), |
|||
|
• |
ppmrainbow (1), |
|||
|
• |
pgmramp (1), |
|||
|
• |
ppmpat (1), |
|||
|
• |
pam (1) |
HISTORY
pampaintspill was new in Netpbm 10.50 (March 2010).
COPYRIGHT
Copyright © 2010–2021 Scott Pakin, scott+pbm@pakin.org.
Table Of Contents
|
• |
||||
|
• |
||||
|
• |
||||
|
• |
||||
|
• |
||||
|
• |
DOCUMENT SOURCE
This manual page was generated by the Netpbm tool ’makeman’ from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/pampaintspill.html