Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Kalpanika/x3f_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Roden committed Jun 23, 2017
2 parents 0baf660 + 60244d6 commit 736b142
Show file tree
Hide file tree
Showing 17 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cprocessingthread.cpp
Expand Up @@ -182,20 +182,20 @@ QString CProcessingThread::runExifTool_GetFFParam(const QString& exiftools,
QString aperture;
int index;
if (( index = exiftool_output.indexOf("Aperture : ")) < 0) {
emit error_message("Warning","No aperture EXIF data found!");
emit error_message("Warning", "No aperture EXIF data found!");
return output_string;
}
index += 34; //34 seems like a bit of a magic number; could the string instead be split?
while (exiftool_output.at(index) != '\n')
while ((exiftool_output.at(index) != '\n') && (exiftool_output.at(index) != '\r')) //windows line endings too...
aperture += exiftool_output.at(index++);

QString lens_id;
if (( index = exiftool_output.indexOf("Lens ID : ")) < 0) {
emit error_message("Warning","No lens ID EXIF data found!");
emit error_message("Warning", "No lens ID EXIF data found!");
return output_string;
}
index += 34;
while (exiftool_output.at(index) != '\n')
while ((exiftool_output.at(index) != '\n') && (exiftool_output.at(index) != '\r'))
lens_id += exiftool_output.at(index++);
lens_id.replace(' ','_');
lens_id.replace('|','_'); // for Sigma Art Lenses, there sometimes is an '|' in the name --> invalid in a file name on most OSs
Expand Down
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_10.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_11.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_13.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_14.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_16.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_2.8
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_3.2
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_3.5
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_4.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_4.5
Binary file not shown.
Binary file added opcodes/DP3M_FF_DNG_Opcodelist3_5.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_5.6
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_6.3
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_7.1
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_8.0
Binary file not shown.
Binary file modified opcodes/DP3M_FF_DNG_Opcodelist3_9.0
Binary file not shown.

0 comments on commit 736b142

Please sign in to comment.