latest version v1.9 - last update 10 Apr 2010 |
Parameter class of ioJPEG. More...
#include <ltiJPEGFunctor.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual const char * | getTypeName () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
int | quality |
bool | progressive |
std::string | comment |
int | rowsPerRestart |
Parameter class of ioJPEG.
lti::ioJPEG::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from lti::ioFunctor::parameters.
lti::ioJPEG::parameters::parameters | ( | const parameters & | other | ) | [inline] |
virtual functor::parameters* lti::ioJPEG::parameters::clone | ( | ) | const [virtual] |
clone member
Reimplemented from lti::ioFunctor::parameters.
parameters& lti::ioJPEG::parameters::copy | ( | const parameters & | other | ) |
virtual const char* lti::ioJPEG::parameters::getTypeName | ( | ) | const [virtual] |
return the name of this type
Reimplemented from lti::ioFunctor::parameters.
virtual bool lti::ioJPEG::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::ioFunctor::parameters.
virtual bool lti::ioJPEG::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the parameters in the given ioHandler
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::ioFunctor::parameters.
std::string lti::ioJPEG::parameters::comment |
Save a comment chunk in the file.
Default is an empty string.
Save in progressive or sequential mode.
Default is sequential mode (false).
Determines the compression of the image when saved.
Valid values range from 1 to 100. Default value is 75.
Number of rows between restart markers (0 = no restart markers) when saving.
Default is 0.