#line 1 "/user/cvsspst/ees1cg/RAVL/RAVL-0.7/Image/ExternalImageIO/ImgIOPNG.hh" // This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here #ifndef RAVLIMGIOPNG_HEADER #define RAVLIMGIOPNG_HEADER 1 ///////////////////////////////////////////////////////////// //! rcsid="$Id: ImgIOPNG.hh,v 1.6 2001/10/17 11:53:05 craftit Exp $" //! userlevel=Normal //! file="Ravl/Image/ExternalImageIO/ImgIOPNG.hh" //! lib=RavlExtImgIO //! author="Charles Galambos" //! docentry="Ravl.Images.IO.Formats" //! example=exImgIO.cc //! date="29/10/98" #include "Ravl/DP/Port.hh" #include "Ravl/Image/Image.hh" #include "Ravl/Image/ByteRGBValue.hh" #include "Ravl/Stream.hh" namespace RavlImageN { //: Load a RGB image in PPM format. // Use via function found in amma/StdType/DataProc/FileFormatIO.hh class DPIImagePNGByteRGBC : public DPIPortC > { public: DPIImagePNGByteRGBC(StringC fn); //: Constructor from filename. DPIImagePNGByteRGBC(const IStreamC &strm); //: Constructor from stream }; //: Save a RGB image in PPM format. class DPOImagePNGByteRGBC : public DPOPortC > { public: DPOImagePNGByteRGBC(StringC fn); //: Constructor from filename. DPOImagePNGByteRGBC(const OStreamC &strm); //: Constructor from stream. }; //: Load a RGB image in PPM format. // Use via function found in amma/StdType/DataProc/FileFormatIO.hh class DPIImagePNGByteGreyC : public DPIPortC > { public: DPIImagePNGByteGreyC(StringC fn); //: Constructor from filename. DPIImagePNGByteGreyC(const IStreamC &strm); //: Constructor from stream }; //: Save a RGB image in PPM format. class DPOImagePNGByteGreyC : public DPOPortC > { public: DPOImagePNGByteGreyC(StringC fn); //: Constructor from filename. DPOImagePNGByteGreyC(const OStreamC &strm); //: Constructor from stream. }; } #endif