digiKam
Digikam::PreviewSettings Class Reference

Public Types

enum  Quality { FastPreview , FastButLargePreview , HighQualityPreview }
 
enum  RawLoading { RawPreviewAutomatic , RawPreviewFromEmbeddedPreview , RawPreviewFromRawHalfSize }
 

Public Member Functions

bool operator== (const PreviewSettings &other) const
 
 PreviewSettings (Quality quality=HighQualityPreview, RawLoading rawLoading=RawPreviewAutomatic)
 
 ~PreviewSettings ()
 

Static Public Member Functions

static PreviewSettings fastPreview ()
 
static PreviewSettings highQualityPreview ()
 

Public Attributes

bool convertToEightBit
 
Quality quality
 
RawLoading rawLoading
 

Member Enumeration Documentation

◆ Quality

Enumerator
FastPreview 

A preview were loading time is most important. Preview can be reduced in size. Additionally specifying the size of the preview area may be appropriate

FastButLargePreview 

Load a preview that is as large as possible without sacrificing speed for performance. Especially, raw previews are taken if larger than the given size. Raw decoding and color management settings will be adjusted.

HighQualityPreview 

Load a high quality additional image. For normal images, loads the full data. For RAW, the additional settings below are taken into account

◆ RawLoading

Enumerator
RawPreviewAutomatic 
RawPreviewFromEmbeddedPreview 
RawPreviewFromRawHalfSize 

Constructor & Destructor Documentation

◆ PreviewSettings()

Digikam::PreviewSettings::PreviewSettings ( Quality  quality = HighQualityPreview,
RawLoading  rawLoading = RawPreviewAutomatic 
)
explicit

Referenced by fastPreview(), and highQualityPreview().

◆ ~PreviewSettings()

Digikam::PreviewSettings::~PreviewSettings ( )

Member Function Documentation

◆ fastPreview()

PreviewSettings Digikam::PreviewSettings::fastPreview ( )
static

◆ highQualityPreview()

PreviewSettings Digikam::PreviewSettings::highQualityPreview ( )
static

◆ operator==()

bool Digikam::PreviewSettings::operator== ( const PreviewSettings other) const

Member Data Documentation

◆ convertToEightBit

◆ quality

◆ rawLoading


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