1
/* ============================================================
3
* This file is a part of digiKam project
4
* http://www.digikam.org
7
* Description : IO file Settings Container.
9
* Copyright (C) 2006-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
* This program is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU General
13
* Public License as published by the Free Software Foundation;
14
* either version 2, or (at your option)
17
* This program is distributed in the hope that it will be useful,
18
* but WITHOUT ANY WARRANTY; without even the implied warranty of
19
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20
* GNU General Public License for more details.
22
* ============================================================ */
24
#ifndef IOFILESETTINGSCONTAINER_H
25
#define IOFILESETTINGSCONTAINER_H
27
// LibKDcraw includes.
29
#include <libkdcraw/rawdecodingsettings.h>
33
#include "digikam_export.h"
38
class DIGIKAM_EXPORT IOFileSettingsContainer
43
IOFileSettingsContainer()
46
JPEGSubSampling = 1; // Medium subsampling
48
TIFFCompression = false;
49
JPEG2000Compression = 75;
50
JPEG2000LossLess = true;
53
~IOFileSettingsContainer(){};
57
// JPEG quality value.
60
// JPEG chroma subsampling value.
63
// PNG compression value.
66
// TIFF deflat compression.
69
// JPEG2000 quality value.
70
int JPEG2000Compression;
72
// JPEG2000 lossless compression.
73
bool JPEG2000LossLess;
75
// ------------------------------------------------------
76
// RAW File decoding options :
78
KDcrawIface::RawDecodingSettings rawDecodingSettings;
81
} // namespace Digikam
83
#endif // IOFILESETTINGSCONTAINER_H