Public Member Functions | Public Attributes | List of all members
Celartem::DjVu::JpegEncoder::Params Struct Reference

#include <djv_jpgencoder.h>

Public Member Functions

 Params (size_t inQuality=75, size_t inDpi=96, u32 inFlags=0)
 
void init (size_t inQuality=75, size_t inDpi=96, u32 inFlags=0)
 
bool operator== (const Params &r) const
 
bool operator!= (const Params &r) const
 

Public Attributes

size_t quality
 JPEG quality in [0 100]. More...
 
size_t dpi
 JPEG resolution in dot-per-inch. More...
 
u32 flags
 

Detailed Description

JPEG encoder parameter.

Constructor & Destructor Documentation

Celartem::DjVu::JpegEncoder::Params::Params ( size_t  inQuality = 75,
size_t  inDpi = 96,
u32  inFlags = 0 
)
inline

Initialize the parameters.

Parameters
inQualityJPEG quality in [0 100]. The default is 75.
inDpiJPEG resolution in dot-per-inch. The default is 96.
inFlagsCombination of JpegEncoderFlags flags.

Member Function Documentation

void Celartem::DjVu::JpegEncoder::Params::init ( size_t  inQuality = 75,
size_t  inDpi = 96,
u32  inFlags = 0 
)
inline

Initialize the parameters.

Parameters
inQualityJPEG quality in [0 100]. The default is 75.
inFlagsCombination of JpegEncoderFlags flags.

Referenced by Params().

bool Celartem::DjVu::JpegEncoder::Params::operator!= ( const Params r) const
inline

For comparison.

bool Celartem::DjVu::JpegEncoder::Params::operator== ( const Params r) const
inline

For comparison.

Member Data Documentation

size_t Celartem::DjVu::JpegEncoder::Params::dpi

JPEG resolution in dot-per-inch.

The default is 96.

Referenced by init(), and operator==().

u32 Celartem::DjVu::JpegEncoder::Params::flags

Combination of JpegEncoderFlags flags. The default is 0.

Referenced by init(), and operator==().

size_t Celartem::DjVu::JpegEncoder::Params::quality

JPEG quality in [0 100].

The default is 75.

Referenced by init(), and operator==().


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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo