claw::graphic::jpeg::writer::options Struct Reference

Parameters of the writing algorithm. More...

#include <jpeg.hpp>

List of all members.

Public Member Functions

 options ()
 Default constructor.
 options (unsigned char compression_quality_, bool progressive_)
 Constructor.

Public Attributes

unsigned char quality
 Quality level to use in the saved stream.
bool progressive
 Tell if we save a progressive jpeg.

Detailed Description

Parameters of the writing algorithm.

Definition at line 173 of file jpeg.hpp.


Constructor & Destructor Documentation

claw::graphic::jpeg::writer::options::options (  ) 

Default constructor.

Remarks:
Default options are quality = 75 % and progressive = false.

Definition at line 137 of file jpeg_writer.cpp.

00138   : quality(75), progressive(false)
00139 {
00140 
00141 } // jpeg::writer::options::options()

claw::graphic::jpeg::writer::options::options ( unsigned char  quality_,
bool  progressive_ 
)

Constructor.

Parameters:
quality_ Quality of the saved image.
progressive_ Tell if we save a progressive jpeg.
Remarks:
If quality_ > 100, then it will be adjusted to 100 when saving.

Definition at line 151 of file jpeg_writer.cpp.

00152   : quality(quality_), progressive(progressive_)
00153 {
00154 
00155 } // jpeg::writer::options::options()


Member Data Documentation

Tell if we save a progressive jpeg.

Definition at line 184 of file jpeg.hpp.

Referenced by claw::graphic::jpeg::writer::set_options().

Quality level to use in the saved stream.

Definition at line 181 of file jpeg.hpp.

Referenced by claw::graphic::jpeg::writer::set_options().


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

Generated on 9 Nov 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1