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 : libpgm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>User manual for old pgm functions</TITLE> <META NAME="manual_section" CONTENT="3"> </HEAD> <BODY> <H1>pgm Functions</H1> Updated: 8 September 2007 <BR> <A HREF="#index">Table Of Contents</A> <H2>NAME</H2> libpgm - libnetpbm functions to read and write PGM image files <H2 id="synopsis">SYNOPSIS</H2> <B>#include <netpbm/pgm.h></B> <P> <B>void pgm_init( </B> <B>int *</B><I>argcP</I><B>,</B> <B>char *</B><I>argv</I><B>[]</B> <B>);</B> <P> <B>gray ** pgm_allocarray(</B> <B>int </B><I>cols</I><B>,</B> <B>int </B><I>rows</I><B> );</B> <P> <B>gray * pgm_allocrow(</B> <B>int</B><I>cols</I><B> );</B> <P> <B>void pgm_freearray(</B> <B>gray **</B><I>grays</I><B>,</B> <B>int</B><I>rows</I><B> );</B> <P> <B>void pgm_freerow(</B> <B>gray *</B><I>grayrow</I><B>);</B> <P> <B>void pgm_readpgminit( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>int *</B><I>colsP</I><B>,</B> <B>int *</B><I>rowsP</I><B>,</B> <B>gray *</B><I>maxvalP</I><B>,</B> <B>int *</B><I>formatP</I><B> );</B> <P> <B>void pgm_readpgmrow( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>gray *</B><I>grayrow</I><B>,</B> <B>int </B><I>cols</I><B>,</B> <B>gray </B><I>maxval</I><B>,</B> <B>int </B><I>format</I><B> );</B> <P> <B>gray ** pgm_readpgm( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>int *</B><I>colsP</I><B>,</B> <B>int *</B><I>rowsP</I><B>,</B> <B>gray *</B><I>maxvalP</I><B> );</B> <P> <B>void pgm_writepgminit( </B> <B>FILE * fp , </B> <B>int </B><I>cols</I><B>,</B> <B>int </B><I>rows</I><B>,</B> <B>gray </B><I>maxval</I><B>,</B> <B>int </B><I>forceplain</I><B> );</B> <P> <B>void pgm_writepgmrow( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>gray *</B><I>grayrow</I><B>,</B> <B>int cols</B><I>,</I> <B>gray </B><I>maxval</I><B>,</B> <B>int </B><I>forceplain</I><B> );</B> <P> <B>void pgm_writepgm( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>gray ** </B><I>grays</I><B>,</B> <B>int </B><I>cols</I><B>,</B> <B>int </B><I>rows</I><B>,</B> <B>gray </B><I>maxval</I><B>,</B> <B>int </B><I>forceplain</I><B> );</B> <P> <B>void pgm_writepgm( </B> <B>FILE *</B><I>fp</I><B>,</B> <B>gray **</B><I>grays</I><B>,</B> <B>int </B><I>cols</I><B>,</B> <B>int </B><I>rows</I><B>,</B> <B>gray </B><I>maxval</I><B>,</B> <B>int </B><I>forceplain</I><B> );</B> <P> <B>void pgm_nextimage(</B> <B>FILE *</B><I>file</I><B>,</B> <B>int * const </B><I>eofP</I><B>);</B> <P> <B>void pgm_check(</B> <B>FILE * </B><I>file</I><B>,</B> <B>const enum pm_check_type </B><I>check_type</I><B>,</B> <B>const int </B><I>format</I><B>,</B> <B>const int </B><I>cols</I><B>,</B> <B>const int </B><I>rows</I><B>,</B> <B>const int </B><I>maxval</I><B>,</B> <B>enum pm_check_code * const </B><I>retval</I><B>);</B> <P> <B>typedef ... gray;</B> <P> <B>#define PGM_MAXMAXVAL ...</B> <P> <B>#define PGM_OVERALLMAXVAL ...</B> <P> <B>#define PGM_FORMAT ...</B> <P> <B>#define RPGM_FORMAT ...</B> <P> <B>#define PGM_TYPE PGM_FORMAT</B> <P> <B>#define </B> <B>PGM_FORMAT_TYPE(</B><I>format</I><B>)</B> <B>...</B> <H2 id="description">DESCRIPTION</H2> <p>These library functions are part of <a href="index.html">Netpbm</a>. <H3 id="types">TYPES AND CONSTANTS</H3> <P>Each <B>gray</B> should contain only the values between <B>0</B> and <B>PGM_OVERALLMAXVAL</B>. <P><B>PGM_OVERALLMAXVAL</B> is the maximum value of a maxval in a PGM file. <B>PGM_MAXMAXVAL</B> is the maximum value of a maxval in a PGM file that is compatible with the PGM format as it existed before April 2000. It is also the maximum value of a maxval that results in the minimum possible raster size for a particular image. I.e an image with a maxval higher than <B>PGM_MAXMAXVAL</B> cannot be read or generated by old PGM processing programs and requires more file space. <P><B>PGM_FORMAT </B> is the format code for a Plain PGM format image file. <B>RPGM_FORMAT</B> is the format code for a Raw PGM format image file. <B>PGM_TYPE </B> is the format type code for the PGM formats. <B>PGM_FORMAT_TYPE</B> is a macro that generates code to compute the format type code of a PBM or PGM format from the format code which is its argument. <H3 id="initialization">INITIALIZATION</H3> <P><b>pgm_init()</b> is identical to <b>pm_proginit</b>. <p><b>pgm_init()</b> is obsolete. Use <b>pm_proginit()</b> instead. <H3 id="memorymanagement">MEMORY MANAGEMENT</H3> <B>pgm_allocarray()</B> allocates an array of grays. <P><B>pgm_allocrow()</B> allocates a row of the given number of grays. <P><B>pgm_freearray()</B> frees the array allocated with <B>pgm_allocarray()</B> containing the given number of rows. <P><B>pgm_freerow()</B> frees a row of grays allocated with <B>pgm_allocrow()</B>. <H3 id="reading">READING FILES</H3> <P>If a function in this section is called on a PBM format file, it translates the PBM file into a PGM file on the fly and functions as if it were called on the equivalent PGM file. The <I>format</I> value returned by <B>pgm_readpgminit()</B> is, however, not translated. It represents the actual format of the PBM file. <P><B>pgm_readpgminit()</B> reads the header of a PGM file, returning all the information from the header and leaving the file positioned just after the header. <P><B>pgm_readpgmrow()</B> reads a row of grays into the <I>grayrow </I> array. <I>format</I>, <I>cols</I>, and <I>maxval </I> are the values returned by <B>pgm_readpgminit()</B>. <P><B>pgm_readpgm()</B> reads an entire PGM image into memory, returning the allocated array as its return value and returning the information from the header as <I>rows</I>, <I>cols</I>, and <I>maxval</I>. This function combines <B>pgm_readpgminit()</B>, <B>pgm_allocarray()</B>, and <B>pgm_readpgmrow()</B>. <p><b>pgm_readpgminit()</b> and <b>pgm_readpgm</b> abort the program with a message to Standard Error if the PGM image header is not syntactically valid, including if it contains a number too large to be processed using the system's normal data structures (to wit, a number that won't fit in a C 'int'). <H3 id="writing">WRITING FILES</H3> <B>pgm_writepgminit()</B> writes the header for a PGM file and leaves it positioned just after the header. <P><I>forceplain</I> is a logical value that tells <B>pgm_writepgminit() </B> to write a header for a plain PGM format file, as opposed to a raw PGM format file. <P><B>pgm_writepgmrow()</B> writes the row <I>grayrow</I> to a PGM file. For meaningful results, <I>cols</I>, <I>maxval</I>, and <I>forceplain</I> must be the same as was used with <B>pgm_writepgminit()</B>. <P><B>pgm_writepgm()</B> write the header and all data for a PGM image. This function combines <B>pgm_writepgminit()</B> and <B>pgm_writepgmrow()</B>. <H3 id="miscellaneous">MISCELLANEOUS</H3> <P><B>pgm_nextimage()</B> positions a PGM input file to the next image in it (so that a subsequent <B>pgm_readpgminit()</B> reads its header). <P><B>pgm_nextimage()</B> is analogous to <B>pbm_nextimage()</B>, but works on PGM and PBM files. <P><B>pgm_check() </B> checks for the common file integrity error where the file is the wrong size to contain all the image data. <P><B>pgm_check() </B> is analogous to <B>pbm_check()</B>, but works on PGM and PBM files. <H2 id="seealso">SEE ALSO</H2> <B><A HREF="libpbm.html">libpbm</A></B>, <B><A HREF="libppm.html">libppm</A></B>, <B><A HREF="libpnm.html">libpnm</A></B> <HR> <H2 id="index">Table Of Contents</H2> <UL> <LI><A HREF="#synopsis">SYNOPSIS</A> <LI><A HREF="#description">DESCRIPTION</A> <UL> <LI><A HREF="#types">TYPES AND CONSTANTS</A> <LI><A HREF="#initialization">INITIALIZATION</A> <LI><A HREF="#memorymanagement">MEMORY MANAGEMENT</A> <LI><A HREF="#reading">READING FILES</A> <LI><A HREF="#writing">WRITING FILES</A> <LI><A HREF="#miscellaneous">MISCELLANEOUS</A> </UL> <LI><A HREF="#seealso">SEE ALSO</A> </UL> </BODY> </HTML>
Close