[Bug 191678] New: Exiv rotation for Pentax Pef not working

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Bugzilla from ahuggel@gmx.net
https://bugs.kde.org/show_bug.cgi?id=191678





--- Comment #19 from Andreas Huggel <ahuggel gmx net>  2009-05-24 05:07:37 ---
Gilles,

I don't see where digiKam writes the error. Do you mean this, at the end of the
function you pointed to?

357     catch( Exiv2::Error &e )
358     {
359         d->printExiv2ExceptionError("Cannot set Exif Orientation tag using
Exiv2 ", e);
360     }

But that's a different message and it prints the Exiv2 exception, which I'd
need to get an idea of what happened. But there is no Exiv2 exception anywhere
in the original bug report. It says the error is just this:

"Failed to revise Exif orientation for file K20D0099.PEF.

Write Metadata to RAW files (experimental)"

Andreas

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Gilles Caulier-4
In reply to this post by Bugzilla from m.mickey@gmx.de
https://bugs.kde.org/show_bug.cgi?id=191678





--- Comment #20 from Gilles Caulier <caulier gilles gmail com>  2009-05-24 10:04:46 ---
Andreas,

Right, i thinking this message become from console. In fact it's a message box.
Code is there :

http://lxr.kde.org/source/extragear/graphics/digikam/digikam/albumiconview.cpp#1778

In this case the failure to record orientation flags from PEF image come from
libkexiv2::applyChanges() to record all in image. Note Digikam::DMetadata class
is a derived version of libkexiv2 with some methods dedicated to play with
internal digiKam metadata which are not shared with the rest of KDE.

Look applyChanges() code here :

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

It call save() method :

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

I will hack this part

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Gilles Caulier-4
In reply to this post by Bugzilla from m.mickey@gmx.de
https://bugs.kde.org/show_bug.cgi?id=191678





--- Comment #21 from Gilles Caulier <caulier gilles gmail com>  2009-05-24 10:17:39 ---
Ok, i can see the problem in the console :

digikam(8427)/KEXIV2 KExiv2Iface::KExiv2::setImageOrientation:
Exif.Image.Orientation tag set to:  6
digikam(8427)/KEXIV2 KExiv2Iface::KExiv2::save: ' imgp6384.pef ' is TIFF based
RAW file supported but writing mode is disabled.  Metadata not saved.

Of course, "Write metadata to RAW files" option from digiKam settings panel is
enabled...

Michael, can you confirm this, running digiKam from a console ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Gilles Caulier-4
In reply to this post by Bugzilla from m.mickey@gmx.de
https://bugs.kde.org/show_bug.cgi?id=191678


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #22 from Gilles Caulier <caulier gilles gmail com>  2009-05-24 11:42:54 ---
SVN commit 972107 by cgilles:

when DMetadata is used to play with image information, unforget to register
flags from albumsettings to follow digiKam configuration.
BUG: 191678


 M  +1 -0      albumiconview.cpp  
 M  +3 -1      metadatamanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=972107

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Gilles Caulier-4
In reply to this post by Bugzilla from m.mickey@gmx.de
https://bugs.kde.org/show_bug.cgi?id=191678


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.11.0-svn                  |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
12