Project

General

Profile

Problem with writing Sony .arw files

Added by Anonymous almost 13 years ago

When I modify a Sony .arw raw file (created by a Sony A700), the metadata seem to get messed up and for example bibblepro cannot read the white balance any more.

What I do:

1. Command file with two commands in it:

del Iptc.Application2.ObjectName String
add Iptc.Application2.ObjectName String dsc08146.arw

2. Apply this to a .arw file with

exiv2 -m test.cmd dsc00001.arw

3. Verify that the string got written with

exiftool dsc00001_exiv2.arw | grep dsc

4. Open file with bibblepro. The white balance data is corrupted and not readable by bibblepro any more.

You can download the original file (before modification) for testing from http://dream.lrrl.arch.tu-muenchen.de/~springm/dsc00001.arw
(it is too large for appending to this message)

I would be very grateful if this could get corrected, as my tools to write the gps location into the raw files depends on this functionality.

Regards - Markus Spring


Replies (4)

RE: Problem with writing Sony .arw files - Added by Andreas Huggel almost 13 years ago

I've created issue #611 for the makernote part of this. It's not straightforward and I'm not sure if that's the only hurdle to support writing to ARW format properly, even though this is a TIFF-based format.

-ahu.

RE: Problem with writing Sony .arw files - Added by Markus Spring almost 13 years ago

Andreas,
thanks for taking this up.
Please consider marking .arw files as "not writable", as in the moment digikam gladly modifies .arw files, rendering them partially unusable.

Markus

RE: Problem with writing Sony .arw files - Added by Andreas Huggel almost 13 years ago

According to Gilles, ARW is already set as not supported RAW format in digiKam:

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#310

-ahu.

RE: Problem with writing Sony .arw files - Added by Anonymous almost 13 years ago

Marcus,

digiKam do not touch ARW files. Look in code :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2.cpp#310

Gilles Caulier

    (1-4/4)