Index

C++ Code Documentation

image::Png

Derived from: image::Reader , image::Writer

File: BASE/image/Png.H

public:
  • Png();
  • ~Png();
  • virtual void read( base::String const &filename, Image &image );
    read from filename
  • void read( io::Istream &stream, Image &image );
    read from stream
  • void read( FILE *file, Image &image );
    read from FILE
  • virtual void write( base::String const &filename, Image const &image ) const;
    write to filename
  • void write( io::Ostream &stream, Image const &image ) const;
    write to stream
  • void write( FILE *file, Image const &image ) const;
    write to FILE
  • void compression( uint c );
    Set the image quality. quality should be in [1,100]
protected:
private:
  • uint _compression;
  • Png( Png const & );
    disabled copy constructor
  • Png &operator=( Png const & );
    dispabled assignment operator


image::Png GANG