Bug 224698

Summary: digikam fails to rotate pefs via orientation tag
Product: [Applications] digikam Reporter: Michael <m.mickey>
Component: Metadata-OrientationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: marcel.wiesweg
Priority: NOR    
Version: 1.1.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In: 1.2.0
Sentry Crash Report:

Description Michael 2010-01-28 23:25:59 UTC
Version:            (using Devel)
Installed from:    Compiled sources

When trying to rotate PEFs from Pentax K100 or K20 digikam just gives an error.

digiKam version 1.1.0 (rev.: 1081627)
Exiv2 kann in JP2 speichern: Ja
Exiv2 kann in JPEG speichern: Ja
Exiv2 kann in PGF speichern: Ja
Exiv2 kann in PNG speichern: Ja
Exiv2 kann in TIFF speichern: Ja
Exiv2 unterstützt XMP-Metadaten: Ja
LibCImg: 130
LibExiv2: 0.19.1
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2))
LibKExiv2: 1.0.0
LibKdcraw: 1.0.0
LibLCMS: 118
LibPGF: 6.09.44
LibPNG: 1.2.37
LibQt: 4.6.0
LibRaw: 0.8.5
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Parallelized demosaicing: Ja
LibGphoto2: 2.4.6
LibKipi: 1.0.0

greets mike
Comment 1 caulier.gilles 2010-01-29 10:18:35 UTC
An error ? Which one ?

Gilles Caulier
Comment 2 Michael 2010-01-29 12:12:29 UTC
Here is the message.

Fehler bei der Bereinigung der EXIF-Ausrichtung für die Datei IMGP4640.PEF.

greets mike
Comment 3 Johannes Wienke 2010-01-29 13:03:34 UTC
English version would be "Error while cleaning EXIF orientation for file IMGP4640.PEF" or something like that.
Comment 4 Marcel Wiesweg 2010-01-29 18:12:08 UTC
Gilles, can exiv2 write to PEF files at all?
Comment 5 Michael 2010-01-29 18:25:38 UTC
Exiv2 kann write to PEF files, I'm doing it with a shell script at the moment. And it was possible with earier digikam versions.

greets mike
Comment 6 Marcel Wiesweg 2010-01-30 14:37:24 UTC
digikam(18995)/KEXIV2 KExiv2Iface::KExiv2::save: "PENTAX-ISD.PEF" is TIFF based RAW file supported but writing mode is disabled.  Metadata not saved.

Did you enable writing to RAW files in the setup?
Comment 7 Michael 2010-01-31 12:09:44 UTC
Ah you're right, that was disabled. Fo my somehow the rotation was something "basic" and usually metadata are something "additional" so I didn'T want my RAWs to be altered...

When enabling it, it works. 

greets mike