• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • graphics API Reference
  • KDE Home
  • Contact Us
 

digikam

  • extragear
  • graphics
  • digikam
  • core
  • libs
  • rawengine
drawinfo.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 : 2007-05-02
7  * Description : RAW file identification information container
8  *
9  * Copyright (C) 2007-2019 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_DRAW_INFO_H
25 #define DIGIKAM_DRAW_INFO_H
26 
27 // Qt includes
28 
29 #include <QString>
30 #include <QDateTime>
31 #include <QSize>
32 #include <QDebug>
33 
34 // Local includes
35 
36 #include "digikam_export.h"
37 
38 namespace Digikam
39 {
40 
41 class DIGIKAM_EXPORT DRawInfo
42 {
43 
44 public:
45 
48  enum ImageOrientation
49  {
50  ORIENTATION_NONE = 0,
51  ORIENTATION_180 = 3,
52  ORIENTATION_Mirror90CCW = 4,
53  ORIENTATION_90CCW = 5,
54  ORIENTATION_90CW = 6
55  };
56 
57 public:
58 
60  DRawInfo();
61 
63  virtual ~DRawInfo();
64 
66  bool isEmpty();
67 
68 public:
69 
71  bool hasIccProfile;
73  bool isDecodable;
74 
76  int rawColors;
77 
79  int rawImages;
80 
82  unsigned int blackPoint;
83 
85  unsigned int blackPointCh[4];
86 
88  unsigned int whitePoint;
89 
91  unsigned int topMargin;
92 
94  unsigned int leftMargin;
95 
97  ImageOrientation orientation;
98 
100  float sensitivity;
101 
103  float exposureTime;
105  float aperture;
107  float focalLength;
109  float pixelAspectRatio;
110 
112  double daylightMult[3];
114  double cameraMult[4];
115 
117  float cameraColorMatrix1[3][4];
118  float cameraColorMatrix2[3][4];
119  float cameraXYZMatrix[4][3];
120 
122  QString colorKeys;
123 
125  QString make;
127  QString model;
129  QString owner;
131  QString filterPattern;
133  QString DNGVersion;
134 
136  QDateTime dateTime;
137 
139  QSize imageSize;
140 
142  QSize thumbSize;
143 
145  QSize fullSize;
146 
148  QSize outputSize;
149 };
150 
152 QDebug operator<<(QDebug dbg, const DRawInfo& c);
153 
154 } // namespace Digikam
155 
156 #endif // DIGIKAM_DRAW_INFO_H
Digikam::DRawInfo::topMargin
unsigned int topMargin
Top margin of raw image.
Definition: drawinfo.h:91
Digikam::DRawInfo::blackPoint
unsigned int blackPoint
Black level from Raw histogram.
Definition: drawinfo.h:82
Digikam::DRawInfo::fullSize
QSize fullSize
The full RAW image dimensions in pixels.
Definition: drawinfo.h:145
Digikam::DRawInfo::sensitivity
float sensitivity
The sensitivity in ISO used by camera to take the picture.
Definition: drawinfo.h:100
Digikam::DRawInfo::filterPattern
QString filterPattern
The demosaising filter pattern.
Definition: drawinfo.h:131
Digikam::DRawInfo::rawColors
int rawColors
The number of RAW colors.
Definition: drawinfo.h:76
Digikam::operator<<
QDebug operator<<(QDebug dbg, const DbEngineParameters &p)
Definition: dbengineparameters.cpp:796
Digikam::DRawInfo::whitePoint
unsigned int whitePoint
White level from Raw histogram.
Definition: drawinfo.h:88
Digikam::DRawInfo::orientation
ImageOrientation orientation
The raw image orientation.
Definition: drawinfo.h:97
Digikam::DRawInfo::dateTime
QDateTime dateTime
Date & time when the picture has been taken.
Definition: drawinfo.h:136
Digikam::DRawInfo::outputSize
QSize outputSize
The output dimensions in pixels.
Definition: drawinfo.h:148
Digikam::DRawInfo::owner
QString owner
The artist name who have picture owner.
Definition: drawinfo.h:129
Digikam::DRawInfo::aperture
float aperture
==> Aperture value in APEX.
Definition: drawinfo.h:105
Digikam::DRawInfo
Definition: drawinfo.h:41
Digikam::DRawInfo::leftMargin
unsigned int leftMargin
Left margin of raw image.
Definition: drawinfo.h:94
Digikam::DRawInfo::exposureTime
float exposureTime
==> 1/exposureTime = exposure time in seconds.
Definition: drawinfo.h:103
QString
Digikam::DRawInfo::DNGVersion
QString DNGVersion
The DNG version.
Definition: drawinfo.h:133
QSize
Digikam::DRawInfo::isDecodable
bool isDecodable
True is RAW file is decodable by dcraw.
Definition: drawinfo.h:73
QDebug
Digikam::DRawInfo::pixelAspectRatio
float pixelAspectRatio
The pixel Aspect Ratio if != 1.0.
Definition: drawinfo.h:109
Digikam::DRawInfo::make
QString make
The camera maker.
Definition: drawinfo.h:125
Digikam::DRawInfo::thumbSize
QSize thumbSize
The thumb dimensions in pixels.
Definition: drawinfo.h:142
Digikam::DRawInfo::hasIccProfile
bool hasIccProfile
True if RAW file include an ICC color profile.
Definition: drawinfo.h:71
Digikam::DRawInfo::colorKeys
QString colorKeys
The used Color Keys.
Definition: drawinfo.h:122
digikam_export.h
Digikam::DRawInfo::rawImages
int rawImages
The number of RAW images.
Definition: drawinfo.h:79
Digikam::DRawInfo::imageSize
QSize imageSize
The image dimensions in pixels.
Definition: drawinfo.h:139
Digikam::DRawInfo::ImageOrientation
ImageOrientation
The RAW image orientation values.
Definition: drawinfo.h:48
QDateTime
Digikam::DRawInfo::model
QString model
The camera model.
Definition: drawinfo.h:127
Digikam::DRawInfo::focalLength
float focalLength
==> Focal Length value in mm.
Definition: drawinfo.h:107
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 15 2019 03:23:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages
-->

graphics API Reference

Skip menu "graphics API Reference"
  • digikam
  • KDiagram
  •     KChart
  •     KGantt
  • KPhotoAlbum
  •   AndroidRemoteControl
  • Krita
  •   libs
  •     KritaBasicFlakes
  •     brush
  •     KritaUndo2
  •     KritaFlake
  •     image
  •     KritaPlugin
  •     Krita
  •     KritaOdf
  •     KritaPigment
  •     KritaStore
  •     ui
  •     KritaWidgets
  •     KritaWidgetUtils
  •   plugins
  •     Assitants
  •     Extensions
  •     Filters
  •         KritaText
  •         KritaTextLayout
  •     Generators
  •     Formats
  •             src
  •     PaintOps
  •       libpaintop
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal