digiKam
iofilesettings.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2006-01-03
7  * Description : IO file Settings Container.
8  *
9  * Copyright (C) 2006-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
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)
15  * any later version.
16  *
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.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_IO_FILE_SETTINGS_H
25 #define DIGIKAM_IO_FILE_SETTINGS_H
26 
27 // Local includes
28 
29 #include "drawdecoding.h"
30 #include "digikam_export.h"
31 
32 namespace Digikam
33 {
34 
35 class DIGIKAM_EXPORT IOFileSettings
36 {
37 
38 public:
39 
41  : JPEGCompression (75),
42  JPEGSubSampling (1),
43  PNGCompression (9),
44  TIFFCompression (false),
45  JPEG2000Compression(75),
46  JPEG2000LossLess (true),
47  PGFCompression (3),
48  PGFLossLess (true),
49  HEIFCompression (75),
50  HEIFLossLess (true),
51  useRAWImport (true),
52  rawImportToolIid (QLatin1String("org.kde.digikam.plugin.rawimport.Native"))
53  {
54  };
55 
57  {
58  };
59 
60 public:
61 
64 
67 
70 
73 
76 
79 
82 
85 
88 
91 
94 
96 
99 };
100 
101 } // namespace Digikam
102 
103 #endif // DIGIKAM_IO_FILE_SETTINGS_H
Definition: drawdecoding.h:48
Definition: iofilesettings.h:36
IOFileSettings()
Definition: iofilesettings.h:40
QString rawImportToolIid
Definition: iofilesettings.h:95
int PGFCompression
PGF quality value.
Definition: iofilesettings.h:81
bool JPEG2000LossLess
JPEG2000 lossless compression.
Definition: iofilesettings.h:78
bool TIFFCompression
TIFF deflate compression.
Definition: iofilesettings.h:72
bool PGFLossLess
PGF lossless compression.
Definition: iofilesettings.h:84
DRawDecoding rawDecodingSettings
RAW File decoding options.
Definition: iofilesettings.h:98
int HEIFCompression
HEIF quality value.
Definition: iofilesettings.h:87
int JPEGCompression
JPEG quality value.
Definition: iofilesettings.h:58
int PNGCompression
PNG compression value.
Definition: iofilesettings.h:69
~IOFileSettings()
Definition: iofilesettings.h:56
int JPEGSubSampling
JPEG chroma sub-sampling value.
Definition: iofilesettings.h:66
int JPEG2000Compression
JPEG2000 quality value.
Definition: iofilesettings.h:75
bool useRAWImport
Use Raw Import tool to load a RAW picture.
Definition: iofilesettings.h:93
bool HEIFLossLess
HEIF lossless compression.
Definition: iofilesettings.h:90
Definition: datefolderview.cpp:43