-- $Date: 2004/03/04 05:13:21 $
-- $Revision: 1.3 $
-- $Author: jcrocholl $

with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;

package PBM is

   -- Raised if the magic number is not P4.
   Expect_P4 : exception;

   -- Read a PBM header from a stream.
   procedure Read_Header
     (Stream : in Stream_Access-- Read from this stream.
      Width  : out Positive;     -- Width of image in pixels.
      Height : out Positive);    -- Height of image in pixels.

   -- Write a PBM header to a stream.
   procedure Write_Header
     (Stream : in Stream_Access-- Write to this stream.
      Width  : in Positive;      -- Width of image in pixels.
      Height : in Positive);     -- Height of image in pixels.

end PBM;