Code covered by the BSD License  

Highlights from
PNM Toolbox 3.01

from PNM Toolbox 3.01 by Peter J. Acklam
The PNM Toolbox is a collection of MATLAB programs for reading and writing PPM, PGM, PBM, PNM, ...

Contents.m
% PNM Toolbox.
% Version 3.0 02-Nov-2003
%
% Image input/output.
%   ppmread    - Read image data from a PPM file.
%   pgmread    - Read image data from a PGM file.
%   pbmread    - Read image data from a PBM file.
%   pnmread    - Read image data from a PPM/PGM/PBM file.
%   rasread    - Read image data from a RAS file.
%   sgiread    - Read image data from a SGI file.
%   xbmread    - Read image data from an XBM file.
%   ppmwrite   - Write a PPM file to disk.
%   pgmwrite   - Write a PGM file to disk.
%   pbmwrite   - Write a PBM file to disk.
%   pnmwrite   - Write a PPM/PGM/PBM file to disk.
%   raswrite   - Write a RAS file to disk.
%   sgiwrite   - Write a SGI file to disk.
%   xbmwrite   - Write a XBM file to disk.

%   Author:      Peter J. Acklam
%   Time-stamp:  2009-07-21 14:19:43 +02:00
%   E-mail:      pjacklam@online.no
%   URL:         http://home.online.no/~pjacklam

Contact us at files@mathworks.com