Line
Link Here
|
0 |
-- kfile-plugins/exr/kfile_exr.cpp |
0 |
++ kfile-plugins/exr/kfile_exr.cpp |
Lines 32-37
Link Here
|
32 |
#include <ImfVecAttribute.h> |
32 |
#include <ImfVecAttribute.h> |
33 |
#include <ImfPreviewImage.h> |
33 |
#include <ImfPreviewImage.h> |
34 |
#include <ImfVersion.h> |
34 |
#include <ImfVersion.h> |
|
|
35 |
#include <ImfCRgbaFile.h> |
35 |
|
36 |
|
36 |
#include <iostream> |
37 |
#include <iostream> |
37 |
|
38 |
|
Lines 226-232
Link Here
|
226 |
qcapDateString.setLength(capDateString.size()); |
227 |
qcapDateString.setLength(capDateString.size()); |
227 |
appendItem( stdgroup, "Capture Date", qcapDateString ); |
228 |
appendItem( stdgroup, "Capture Date", qcapDateString ); |
228 |
} |
229 |
} |
|
|
230 |
// This define was introduced in EXR 1.6.0 |
231 |
#ifndef IMF_B44_COMPRESSION |
232 |
// This is the 1.4 and earlier version |
229 |
if ( hasutcOffset(h) ) { |
233 |
if ( hasutcOffset(h) ) { |
|
|
234 |
#else |
235 |
// This is the 1.6.0 and later version |
236 |
if ( hasUtcOffset(h) ) { |
237 |
#endif |
230 |
QString UTCOffset; |
238 |
QString UTCOffset; |
231 |
if (utcOffset(h)>0.0) { |
239 |
if (utcOffset(h)>0.0) { |
232 |
UTCOffset.append(QString("%1").arg(utcOffset(h)/3600, 0, 'f', 1)); |
240 |
UTCOffset.append(QString("%1").arg(utcOffset(h)/3600, 0, 'f', 1)); |