BSD 2-Clause “Simplified” License
The default MAXWS
is too small for process any larger images, it is
recommended to set it to above 640M
.
Beware that this library can only read and write raster PNM files produced by Netpbm command line programs. Other PNM files might fail.
Example:
input←readpnm 'input.pgm'
Example:
⌈/,bit
1
bit writepnm 'P4' 'output.pbm' ⍝ PBM file.
⌈/,grey
255
grey writepnm 'P5' 'output.pgm' ⍝ PGM file.
≢color
3
⌈/,color
255
color writepnm 'P6' 'output.ppm' ⍝ PPM file.
Netpbm
|
+-Ppm ⍝ Functions categoriezed by input type.
+-Pgm
+-Pbm
|
+-Image ⍝ Util functions.
| ⍝ Functions categoriezed by effects.
|
+-Bluenoise ⍝ For dithering.
+-Dither
|
+-Blur
|
+-Recons ⍝ Reconstruction of images.