Claw  1.7.3
Public Member Functions | Public Attributes | List of all members
claw::graphic::jpeg::writer::options Struct Reference

Parameters of the writing algorithm. More...

#include <jpeg.hpp>

Public Member Functions

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

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 174 of file jpeg.hpp.

Constructor & Destructor Documentation

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

Default constructor.

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

Definition at line 137 of file jpeg_writer.cpp.

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


quality_Quality of the saved image.
progressive_Tell if we save a progressive jpeg.
If quality_ > 100, then it will be adjusted to 100 when saving.

Definition at line 151 of file jpeg_writer.cpp.

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