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

#include <jpeg.hpp>

List of all members.


Detailed Description

Parameters of the writing algorithm.

Definition at line 173 of file jpeg.hpp.

Public Member Functions

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

 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.


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

bool claw::graphic::jpeg::writer::options::progressive

Tell if we save a progressive jpeg.

Definition at line 184 of file jpeg.hpp.

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

unsigned char claw::graphic::jpeg::writer::options::quality

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 Mon Nov 9 05:07:35 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.4.7