~ubuntu-branches/ubuntu/intrepid/digikam/intrepid

« back to all changes in this revision

Viewing changes to digikam/utilities/imageeditor/canvas/iofilesettingscontainer.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2008-07-17 20:25:39 UTC
  • mfrom: (1.3.2 upstream) (37 hardy)
  • mto: This revision was merged to the branch mainline in revision 39.
  • Revision ID: james.westby@ubuntu.com-20080717202539-1bw3w3nrsso7yj4z
* New upstream release
  - digiKam 0.9.4 Release Plan (KDE3) ~ 13 July 08 (Closes: #490144)
* DEB_CONFIGURE_EXTRA_FLAGS := --without-included-sqlite3
* Debhelper compatibility level V7
* Install pixmaps in debian/*.install
* Add debian/digikam.lintian-overrides

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ============================================================
 
2
 *
 
3
 * This file is a part of digiKam project
 
4
 * http://www.digikam.org
 
5
 *
 
6
 * Date        : 2006-01-03
 
7
 * Description : IO file Settings Container.
 
8
 * 
 
9
 * Copyright (C) 2006-2007 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 IOFILESETTINGSCONTAINER_H
 
25
#define IOFILESETTINGSCONTAINER_H
 
26
 
 
27
// LibKDcraw includes.
 
28
 
 
29
#include <libkdcraw/rawdecodingsettings.h>
 
30
 
 
31
// Local includes.
 
32
 
 
33
#include "digikam_export.h"
 
34
 
 
35
namespace Digikam
 
36
{
 
37
 
 
38
class DIGIKAM_EXPORT IOFileSettingsContainer
 
39
{
 
40
 
 
41
public:
 
42
    
 
43
    IOFileSettingsContainer()
 
44
    {
 
45
        JPEGCompression     = 75;
 
46
        JPEGSubSampling     = 1;    // Medium subsampling
 
47
        PNGCompression      = 9;
 
48
        TIFFCompression     = false;
 
49
        JPEG2000Compression = 75;
 
50
        JPEG2000LossLess    = true;
 
51
    };
 
52
 
 
53
    ~IOFileSettingsContainer(){};
 
54
 
 
55
public:
 
56
 
 
57
    // JPEG quality value.
 
58
    int  JPEGCompression;
 
59
 
 
60
    // JPEG chroma subsampling value.
 
61
    int  JPEGSubSampling;
 
62
 
 
63
    // PNG compression value.
 
64
    int  PNGCompression;
 
65
 
 
66
    // TIFF deflat compression.
 
67
    bool TIFFCompression;
 
68
 
 
69
    // JPEG2000 quality value.
 
70
    int  JPEG2000Compression;
 
71
 
 
72
    // JPEG2000 lossless compression.
 
73
    bool JPEG2000LossLess;
 
74
 
 
75
    // ------------------------------------------------------
 
76
    // RAW File decoding options :
 
77
 
 
78
    KDcrawIface::RawDecodingSettings rawDecodingSettings;    
 
79
};
 
80
 
 
81
}  // namespace Digikam
 
82
 
 
83
#endif  // IOFILESETTINGSCONTAINER_H