Hosted by
|
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;
package PNM is
subtype String2 is String(1 .. 2);
procedure Read_Header
(Stream : in Stream_Access;
Magic : out String2;
Width : out Positive;
Height : out Positive;
Maxval : out Positive);
procedure Write_Header
(Stream : in Stream_Access;
Magic : in String2;
Width : in Positive;
Height : in Positive;
Maxval : in Positive);
procedure Read_Header
(Stream : in Stream_Access;
Magic : out String2;
Width : out Positive;
Height : out Positive);
procedure Write_Header
(Stream : in Stream_Access;
Magic : in String2;
Width : in Positive;
Height : in Positive);
end PNM;
|