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 : ppm.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML> <HEAD> <TITLE>PPM Format Specification</TITLE> <META NAME="manual_section" CONTENT="5"> </HEAD> <BODY> <H1>ppm</H1> Updated: 03 October 2003 <BR> <A HREF="#index">Table Of Contents</A> <H2>NAME</H2> PPM - Netpbm color image format <H2 id="description">DESCRIPTION</H2> <p>This program is part of <a href="index.html">Netpbm</a>. <P>The PPM format is a lowest common denominator color image file format. <P>It should be noted that this format is egregiously inefficient. It is highly redundant, while containing a lot of information that the human eye can't even discern. Furthermore, the format allows very little information about the image besides basic color, which means you may have to couple a file in this format with other independent information to get any decent use out of it. However, it is very easy to write and analyze programs to process this format, and that is the point. <P>It should also be noted that files often conform to this format in every respect except the precise semantics of the sample values. These files are useful because of the way PPM is used as an intermediary format. They are informally called PPM files, but to be absolutely precise, you should indicate the variation from true PPM. For example, "PPM using the red, green, and blue colors that the scanner in question uses." <P>The name "PPM" is an acronym derived from "Portable Pixel Map." Images in this format (or a precursor of it) were once also called "portable pixmaps." <P>The format definition is as follows. You can use the <a href="libnetpbm.html">libnetpbm</a> C subroutine library to read and interpret the format conveniently and accurately. <P>A PPM file consists of a sequence of one or more PPM images. There are no data, delimiters, or padding before, after, or between images. <P>Each PPM image consists of the following: <OL> <LI>A "magic number" for identifying the file type. A ppm image's magic number is the two characters "P6". <LI> Whitespace (blanks, TABs, CRs, LFs). <LI> A width, formatted as ASCII characters in decimal. <LI> Whitespace. <LI> A height, again in ASCII decimal. <LI> Whitespace. <LI> The maximum color value (Maxval), again in ASCII decimal. Must be less than 65536 and more than zero. <LI>A single whitespace character (usually a newline). <LI>A raster of Height rows, in order from top to bottom. Each row consists of Width pixels, in order from left to right. Each pixel is a triplet of red, green, and blue samples, in that order. Each sample is represented in pure binary by either 1 or 2 bytes. If the Maxval is less than 256, it is 1 byte. Otherwise, it is 2 bytes. The most significant byte is first. <P>A row of an image is horizontal. A column is vertical. The pixels in the image are square and contiguous. <p>In the raster, the sample values are "nonlinear." They are proportional to the intensity of the ITU-R Recommendation BT.709 red, green, and blue in the pixel, adjusted by the BT.709 gamma transfer function. (That transfer function specifies a gamma number of 2.2 and has a linear section for small intensities). A value of Maxval for all three samples represents CIE D65 white and the most intense color in the color universe of which the image is part (the color universe is all the colors in all images to which this image might be compared). <p>ITU-R Recommendation BT.709 is a renaming of the former CCIR Recommendation 709. When CCIR was absorbed into its parent organization, the ITU, ca. 2000, the standard was renamed. This document once referred to the standard as CIE Rec. 709, but it isn't clear now that CIE ever sponsored such a standard. <P>Note that another popular color space is the newer sRGB. A common variation on PPM is to substitute this color space for the one specified. <p> Note that a common variation on the PPM format is to have the sample values be "linear," i.e. as specified above except without the gamma adjustment. <B>pnmgamma</B> takes such a PPM variant as input and produces a true PPM as output. </OL> <p>Strings starting with "#" may be comments, the same as with <a href="pbm.html">PBM</a>. <P>Note that you can use <B>pamdepth</B> to convert between a the format with 1 byte per sample and the one with 2 bytes per sample. <P>There is actually another version of the PPM format that is fairly rare: "plain" PPM format. The format above, which generally considered the normal one, is known as the "raw" PPM format. See <B><A HREF="pbm.html">pbm</A></B> for some commentary on how plain and raw formats relate to one another and how to use them. <P>The difference in the plain format is: <DL COMPACT> <DT>-<DD> There is exactly one image in a file. <DT>-<DD> The magic number is P3 instead of P6. <DT>-<DD> Each sample in the raster is represented as an ASCII decimal number (of arbitrary size). <DT>-<DD> Each sample in the raster has white space before and after it. There must be at least one character of white space between any two samples, but there is no maximum. There is no particular separation of one pixel from another -- just the required separation between the blue sample of one pixel from the red sample of the next pixel. <DT>-<DD> No line should be longer than 70 characters. </DL> <P> Here is an example of a small image in this format. <PRE> P3 # feep.ppm 4 4 15 0 0 0 0 0 0 0 0 0 15 0 15 0 0 0 0 15 7 0 0 0 0 0 0 0 0 0 0 0 0 0 15 7 0 0 0 15 0 15 0 0 0 0 0 0 0 0 0 </PRE> <P>There is a newline character at the end of each of these lines. <P>Programs that read this format should be as lenient as possible, accepting anything that looks remotely like a PPM image. <p>All characters referred to herein are encoded in ASCII. "newline" refers the the character known in ASCII as Line Feed or LF. A "white space" character is space, CR, LF, TAB, VT, or FF (I.e. what the ANSI standard C isspace() function calls white space). <H2 id="compatibility">COMPATIBILITY</H2> <P>Before April 2000, a raw format PPM file could not have a maxval greater than 255. Hence, it could not have more than one byte per sample. Old programs may depend on this. <P>Before July 2000, there could be at most one image in a PPM file. As a result, most tools to process PPM files ignore (and don't read) any data after the first image. <H2 id="seealso">SEE ALSO</H2> <A HREF="pnm.html">pnm</A>, <A HREF="pgm.html">pgm</A>, <A HREF="pbm.html">pbm</A>, <A HREF="pam.html">pam</A>, <A HREF="directory.html">programs that process PPM</A> <HR> <H2 id="index">Table Of Contents</H2> <UL> <LI><A HREF="#description">DESCRIPTION</A> <LI><A HREF="#compatibility">COMPATIBILITY</A> <LI><A HREF="#seealso">SEE ALSO</A> </UL> </BODY> </HTML>
Close