Skip to content

LdBeth/pnmaster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PNMaster

LICENSE

BSD 2-Clause “Simplified” License

Workspace Size

The default MAXWS is too small for process any larger images, it is recommended to set it to above 640M.

Netpbm

Beware that this library can only read and write raster PNM files produced by Netpbm command line programs. Other PNM files might fail.

readpnm

Example:

    input←readpnm 'input.pgm'

writepnm

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.

Workspace organization

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.

About

NetPBM processing in APL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published