VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gr::PngWriter Class Reference

An interface for writing a raw dgb image as a png file. More...

#include <grpng.h>

Classes

struct  Output
 Abstract interface for Gr::PngWriter::write(). More...
 

Public Types

typedef std::multimap
< std::string, std::string > 
Map
 

Public Member Functions

 PngWriter (const ImageData &, Map tags=Map())
 Constructor with the raw image data prepared in a ImageData object. More...
 
 ~PngWriter ()
 Destructor.
 
void write (const G::Path &path)
 Writes to file.
 
void write (Output &out)
 Writes to an Output interface.
 

Detailed Description

An interface for writing a raw dgb image as a png file.

Definition at line 153 of file grpng.h.

Constructor & Destructor Documentation

Gr::PngWriter::PngWriter ( const ImageData data,
Map  tags = Map() 
)
explicit

Constructor with the raw image data prepared in a ImageData object.

The references are kept.

Definition at line 35 of file grpng_none.cpp.


The documentation for this class was generated from the following files: