#ifndef DPIMGIOPOSTSCRIPT_HEADER #define DPIMGIOPOSTSCRIPT_HEADER ///////////////////////////////////////////////////////////// //! userlevel=Normal //! file="amma/Image/PostScript/ImgIOPS.hh" //! author="Charles Galambos" //! docentry="Image.Image IO" //! lib=Ccompimg //! date="05/07/2000" //! rcsid="$Id: ImgIOPS.hh,v 1.4 2000/08/17 15:21:32 ees1cg Exp $" #include "amma/DP/Port.hh" #include "amma/Image.hh" #include "amma/RGBValue.hh" #include "amma/GreyVal.hh" #include "amma/Stream.hh" #include "amma/Filename.hh" ////// Byte RGB Image IO /////////////////////////////////////////// //: Load a RGB image in PPM format. // Use via function found in amma/StdType/DataProc/FileFormatIO.hh class DPIImagePSByteRGBC : public DPIPortC > { public: DPIImagePSByteRGBC(FilenameC fn); //: Constructor from filename. DPIImagePSByteRGBC(const IStreamC &strm); //: Constructor from stream }; //: Save a RGB image in PPM format. class DPOImagePSByteRGBC : public DPOPortC > { public: DPOImagePSByteRGBC(FilenameC fn); //: Constructor from filename. DPOImagePSByteRGBC(const OStreamC &strm); //: Constructor from stream. }; ////// Byte grey Level Image IO /////////////////////////////////////////// //: Load a Grey image in PPM format. // Use via function found in amma/StdType/DataProc/FileFormatIO.hh class DPIImagePSByteGreyC : public DPIPortC > { public: DPIImagePSByteGreyC(FilenameC fn); //: Constructor from filename. DPIImagePSByteGreyC(const IStreamC &strm); //: Constructor from stream }; //: Save a Grey image in PPM format. class DPOImagePSByteGreyC : public DPOPortC > { public: DPOImagePSByteGreyC(FilenameC fn); //: Constructor from filename. DPOImagePSByteGreyC(const OStreamC &strm); //: Constructor from stream. }; #endif