digiKam
Digikam::JPEGUtils Namespace Reference

Classes

struct  digikam_source_mgr
 
class  JpegRotator
 

Typedefs

typedef MetaEngineRotation::TransformationAction TransformAction
 

Functions

boolean fill_input_buffer (j_decompress_ptr cinfo)
 
int getJpegQuality (const QString &file)
 
void init_source (j_decompress_ptr)
 
bool isJpegImage (const QString &file)
 
void jpeg_memory_src (j_decompress_ptr cinfo, const JOCTET *buffer, size_t bufsize)
 
bool jpegConvert (const QString &src, const QString &dest, const QString &documentName, const QString &format)
 
bool loadJPEGScaled (QImage &image, const QString &path, int maximumSize)
 
void skip_input_data (j_decompress_ptr cinfo, long nbytes)
 
void term_source (j_decompress_ptr)
 

Typedef Documentation

◆ TransformAction

Function Documentation

◆ fill_input_buffer()

boolean Digikam::JPEGUtils::fill_input_buffer ( j_decompress_ptr  cinfo)

◆ getJpegQuality()

DIGIKAM_EXPORT int Digikam::JPEGUtils::getJpegQuality ( const QString &  file)

◆ init_source()

void Digikam::JPEGUtils::init_source ( j_decompress_ptr  )

Referenced by jpeg_memory_src().

◆ isJpegImage()

◆ jpeg_memory_src()

void Digikam::JPEGUtils::jpeg_memory_src ( j_decompress_ptr  cinfo,
const JOCTET *  buffer,
size_t  bufsize 
)

◆ jpegConvert()

DIGIKAM_EXPORT bool Digikam::JPEGUtils::jpegConvert ( const QString &  src,
const QString &  dest,
const QString &  documentName,
const QString &  format 
)

◆ loadJPEGScaled()

DIGIKAM_EXPORT bool Digikam::JPEGUtils::loadJPEGScaled ( QImage &  image,
const QString &  path,
int  maximumSize 
)

References isJpegImage().

Referenced by Digikam::HaarIface::loadQImage().

◆ skip_input_data()

void Digikam::JPEGUtils::skip_input_data ( j_decompress_ptr  cinfo,
long  nbytes 
)

◆ term_source()

void Digikam::JPEGUtils::term_source ( j_decompress_ptr  )

Referenced by jpeg_memory_src().