23 #ifndef DIGIKAM_DNG_WRITER_PRIVATE_H
24 #define DIGIKAM_DNG_WRITER_PRIVATE_H
36 #include <QTemporaryFile>
39 #include <QScopedPointer>
47 #include "dng_camera_profile.h"
48 #include "dng_color_space.h"
49 #include "dng_exceptions.h"
50 #include "dng_file_stream.h"
51 #include "dng_globals.h"
54 #include "dng_image_writer.h"
56 #include "dng_linearization_info.h"
57 #include "dng_memory_stream.h"
58 #include "dng_mosaic_info.h"
59 #include "dng_negative.h"
60 #include "dng_preview.h"
61 #include "dng_read_image.h"
62 #include "dng_render.h"
63 #include "dng_simple_image.h"
64 #include "dng_tag_codes.h"
65 #include "dng_tag_types.h"
66 #include "dng_tag_values.h"
68 #include "dng_xmp_sdk.h"
72 #include "XMP_Version.h"
77 #include "digikam_version.h"
114 dng_date_time dngDateTime(
const QDateTime& qDT)
const;
116 bool fujiRotate(QByteArray& rawData,
DRawInfo& identify)
const;
118 QString dngErrorCodeToString(
int errorCode)
const;
120 QString dngBayerPatternToString(
int pattern)
const;
125 int debugExtractedRAWData(
const QByteArray& rawData);
131 int importRaw(
DRawInfo*
const identify,
134 int identMosaic(
DRawInfo*
const identify,
137 int createNegative(AutoPtr<dng_negative>& negative,
141 AutoPtr<dng_negative>& negative,
147 AutoPtr<dng_negative>& negative,
153 AutoPtr<dng_negative>& negative,
159 AutoPtr<dng_negative>& negative);
162 AutoPtr<dng_negative>& negative,
163 AutoPtr<dng_image>& image);
165 int exifToolPostProcess();
169 void backportNikonMakerNote(
DMetadata*
const meta);
170 void backportCanonMakerNote(
DMetadata*
const meta);
171 void backportPentaxMakerNote(
DMetadata*
const meta);
172 void backportOlympusMakerNote(
DMetadata*
const meta);
173 void backportPanasonicMakerNote(
DMetadata*
const meta);
174 void backportSonyMakerNote(
DMetadata*
const meta);
175 void storeLensInformation();
177 AutoPtr<dng_negative>& negative,
Definition: dngwriterhost.h:35
Definition: dngwriter_p.h:91
QString inputFile
Definition: dngwriter_p.h:202
QByteArray rawData
Definition: dngwriter_p.h:205
bool cancel
Definition: dngwriter_p.h:189
int outputWidth
Definition: dngwriter_p.h:198
QFileInfo inputInfo
Definition: dngwriter_p.h:207
bool metaLoaded
Set to true if metadata are properly loaded at Exif stage.
Definition: dngwriter_p.h:188
int height
Definition: dngwriter_p.h:200
DNGBayerPattern
Definition: dngwriter_p.h:96
@ LinearRaw
Definition: dngwriter_p.h:98
@ Fuji
Definition: dngwriter_p.h:100
@ Standard
Definition: dngwriter_p.h:99
@ Fuji6x6
Definition: dngwriter_p.h:101
QString dngFilePath
Definition: dngwriter_p.h:204
int outputHeight
Definition: dngwriter_p.h:197
QFileInfo outputInfo
Definition: dngwriter_p.h:208
bool jpegLossLessCompression
Definition: dngwriter_p.h:190
uint32 filter
Definition: dngwriter_p.h:186
int previewMode
Definition: dngwriter_p.h:194
dng_rect activeArea
Definition: dngwriter_p.h:212
int width
Definition: dngwriter_p.h:199
DNGBayerPattern bayerPattern
Definition: dngwriter_p.h:185
dng_date_time_info orgDateTimeInfo
Definition: dngwriter_p.h:211
bool updateFileDate
Definition: dngwriter_p.h:191
QString outputFile
Definition: dngwriter_p.h:203
int activeHeight
Definition: dngwriter_p.h:196
dng_exif * exif
Instance to Exif DNG SDK container.
Definition: dngwriter_p.h:213
DNGWriter * parent
Parent class instance.
Definition: dngwriter_p.h:184
bool backupOriginalRawFile
Definition: dngwriter_p.h:192
QDateTime fileDate
Definition: dngwriter_p.h:209
int activeWidth
Definition: dngwriter_p.h:195
Definition: dngwriter.h:40
Definition: drawinfo.h:47
Definition: datefolderview.cpp:43