#include <interfaces.h>


Classes | |
| struct | Plane |
| Represents a one-color image, together with some setttings. More... | |
Public Types | |
| typedef std::vector< Plane > | PlaneList |
| List of planes (the pointed-to memory is owned by the module). | |
Public Member Functions | |
| virtual PlaneList | image2planes (const QImage &toEncode, const PlaneSettings &prototype)=0 |
Splits an image into color-planes and adjusts their settings (from prototype). | |
| virtual QImage | planes2image ()=0 |
| Merges planes back into a color image (only useful when decoding). | |
| virtual void | writeData (std::ostream &file)=0 |
| Writes any data needed for plane reconstruction to a stream. | |
| virtual PlaneList | readData (std::istream &file, const PlaneSettings &prototype)=0 |
| Reads any data needed for plane reconstruction from a stream and creates the plane list. | |
Definition at line 111 of file interfaces.h.
| virtual PlaneList IColorTransformer::image2planes | ( | const QImage & | toEncode, | |
| const PlaneSettings & | prototype | |||
| ) | [pure virtual] |
Splits an image into color-planes and adjusts their settings (from prototype).
It should call UpdateInfo::incMaxProgress with the total pixel count.
Implemented in MColorModel.
Referenced by MRoot::encode().

1.5.8