Image Component Library (ICL)
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
icl::io::FileWriterPluginJPEG Class Reference

A Writer Plugin for writing ".jpeg" and ".jpg" images. More...

#include <FileWriterPluginJPEG.h>

Inheritance diagram for icl::io::FileWriterPluginJPEG:
icl::io::FileWriterPlugin

Public Member Functions

virtual void write (utils::File &file, const core::ImgBase *image)
 write implementation More...
 
- Public Member Functions inherited from icl::io::FileWriterPlugin
virtual ~FileWriterPlugin ()
 

Static Public Member Functions

static void setQuality (int value)
 sets the currently used jped quality (0-100) (by default 90%) More...
 

Static Private Attributes

static int s_iQuality
 current quality (90%) by default More...
 
static core::Img8u s_oBufferImage
 (static!) internal buffer for Any-to-icl8u conversion More...
 
static utils::Mutex s_oBufferImageMutex
 mutex to protect the static buffer More...
 

Detailed Description

A Writer Plugin for writing ".jpeg" and ".jpg" images.

Member Function Documentation

◆ setQuality()

static void icl::io::FileWriterPluginJPEG::setQuality ( int  value)
static

sets the currently used jped quality (0-100) (by default 90%)

◆ write()

virtual void icl::io::FileWriterPluginJPEG::write ( utils::File file,
const core::ImgBase image 
)
virtual

write implementation

Implements icl::io::FileWriterPlugin.

Member Data Documentation

◆ s_iQuality

int icl::io::FileWriterPluginJPEG::s_iQuality
staticprivate

current quality (90%) by default

◆ s_oBufferImage

core::Img8u icl::io::FileWriterPluginJPEG::s_oBufferImage
staticprivate

(static!) internal buffer for Any-to-icl8u conversion

◆ s_oBufferImageMutex

utils::Mutex icl::io::FileWriterPluginJPEG::s_oBufferImageMutex
staticprivate

mutex to protect the static buffer


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