[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] New: Exiv rotation for Pentax Pef not working

Bugzilla from m.mickey@gmx.de
https://bugs.kde.org/show_bug.cgi?id=191678

           Summary: Exiv rotation for Pentax Pef not working
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

Hi,

I compiled on a fresh Ubuntu Jaunty digikam 0.11 from SVN, with the tutorial
for kubuntu
http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid

I tried to rotate some of my Pef files with the exiv orientation tool, but I
only get an error...

I have the usual evix2 0.18 package from ubuntu installed...
The same procedure worked some while back with digikam 0.10 and exiv2 0.18pre
on ubuntu intrepid...

greets mike


digiKam version 0.11.0-svn (rev.: 963706)
Exiv2 kann nicht in JP2 speichern: Ja
Exiv2 kann nicht in JPEG speichern: Ja
Exiv2 kann nicht in PNG speichern: Ja
Exiv2 kann nicht in TIFF speichern: Ja
Exiv2 supports XMP metadata: Ja
LibCImg: 130
LibExiv2: 0.18
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.2.2 (KDE 4.2.2)
LibKExiv2: 0.6.0
LibKdcraw: 0.5.0
LibLCMS: 118
LibPNG: 1.2.27
LibQt: 4.5.0
LibRaw: 0.7.2-Release
LibTIFF: LIBTIFF, Version 3.8.2 Copyright (c) 1988-1996 Sam Leffler Copyright
(c) 1991-1996 Silicon Graphics, Inc.
Marble-Widget: 0.7.1
Parallelized demosaicing: Keine
LibGphoto2: 2.4.2
LibKipi: 0.4.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
Reply | Threaded
Open this post in threaded view
|

[Bug 191678] Exiv rotation for Pentax Pef not working

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=191678





--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-05-05 13:51:39 ---
>LibExiv2: 0.18

Can you try to use last stable Exiv2 0.18.1 with digiKam. libkexiv2, digiKam,
and kipi-plugins need to be recompiled.

Question, when you said rotated image based on exif informations, you want mean
thumb or real image. Typically, both use the same informations, but i would to
be sure.

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
----------------------------------------------------------------------------
          Component|general                     |Metadata
            Version|unspecified                 |0.11.0-svn




--
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

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





--- Comment #2 from Michael <m mickey gmx de>  2009-05-05 14:49:33 ---
So I tried it with 0.18.1, but nothing changed... there is still just a
errormessage and thats all...
I want to set the exiv orientation flag differently, this will rotate the
thumbnail in digikam, but also when opening the rawfile the image itself will
be shown in it's correct orientation...

greets mike

--
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 #3 from Gilles Caulier <caulier gilles gmail com>  2009-05-05 15:29:47 ---
Which error message exactly.

To be able to set orientation flag in PEF file, you need to set on the right
option in Metadata config panel to write metadata in RAW file (disable by
default)

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

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





--- Comment #4 from Michael <m mickey gmx de>  2009-05-05 15:38:12 ---
I have enabled (still the same message):

Metadaten in Rohdaten speichern (experimentell)

This is the message:

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

greets mike

--
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 #5 from Gilles Caulier <caulier gilles gmail com>  2009-05-05 15:59:11 ---
Sorry, i don't speak German (:=)))

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

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





--- Comment #6 from Michael <m mickey gmx de>  2009-05-05 16:17:13 ---
I didn't want to translate with probably the wrong words, but after setting
digikam to english, here are the two lines:

Failed to revise Exif orientation for file K20D0099.PEF.

Write Metadata to RAW files (experimental)

greets mike

--
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
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2009-05-05 16:59:28 ---
Arfff...

Andreas, digiKam try to set Exif orientation flag in PEF file. Do you have
already tried that ?

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

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





--- Comment #8 from Andreas Huggel <ahuggel gmx net>  2009-05-06 04:19:40 ---
According to the official documentation, writing to PEF should work ;)

http://dev.exiv2.org/wiki/exiv2/Supported_image_formats

We need more details of what is going wrong.

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

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


Michal Thoma <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #9 from Michal Thoma <michal thoma cz>  2009-05-07 13:49:08 ---
I confirm this behaviour at Ubuntu Jaunty, Digikam 0.10 width DNG files from
Pentax *istD.

The metadata writing to RAW was turned on and editing EXIF, IPTC and XMP
through Image > Metadata dialogs works properly.

Though Image > Exif Orientation tag setting (loose translation back to English)
produce error "Couldn't read Exif orientation tag from image xxxx.dng".

Actually Exif Orientation tag is there and it look like that: Orientation: top,
left.

Sample image: http://photos.thoma.cz/orientation

--
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

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





--- Comment #10 from Michael <m mickey gmx de>  2009-05-18 22:09:53 ---
Any news?

greets mike

--
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

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





--- Comment #11 from Michal Thoma <michal thoma cz>  2009-05-19 20:38:37 ---
well if you need this feature urgently just employ exiftool commandline tool. I
made script for 90 CCW rotation just this simple:

<code>
#!/bin/sh
exiftool -Orientation=8 -n -overwrite_original "$*"
</code>

I run it through the context menu and it works just fine.

Should help until it's in Digikam natively.

--
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

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





--- Comment #12 from Andreas Huggel <ahuggel gmx net>  2009-05-20 05:48:55 ---
What happens if you do something similar to that exiftool command with the
exiv2 command line tool? I.e., something like

$ exiv2 -M 'set Exif.Image.Orientation 8' IMAGE.PEF

Here this seems work fine on one of my PEF samples; the image opens rotated in
ufraw after the change.

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

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





--- Comment #13 from Michal Thoma <michal thoma cz>  2009-05-20 11:16:31 ---
This very same thing! I only use ExifTool because I'm more familiar with that
(it's little bit older and more advanced project in regard of format and
metadata support).

When I change the orientation tag I see the change in digikam instantly.

--
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

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





--- Comment #14 from Andreas Huggel <ahuggel gmx net>  2009-05-20 13:44:57 ---
Yes, it should be the same. I'd like to hear the result that Michael gets, when
running the command with one of his PEFs, which don't work with digiKam. It's a
simple check if this is a bug for exiv2.

--
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

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





--- Comment #15 from Michael <m mickey gmx de>  2009-05-20 14:16:18 ---
It works on the commandline with exiv2.
Also digikam is able to change other exiv metadata like Original Date in my PEF
files, only rotation doesn't work...

greets mike

--
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

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





--- Comment #16 from Andreas Huggel <ahuggel gmx net>  2009-05-23 16:01:11 ---
Gilles,

This one needs more investigation by the digiKam team. Doesn't sound like an
Exiv2 issue.

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 #17 from Gilles Caulier <caulier gilles gmail com>  2009-05-23 23:18:38 ---
Andreas,

From libkexiv2, this error "Failed to revise Exif orientation for file
K20D0099.PEF." is generated by this method :

http://lxr.kde.org/source/KDE/kdegraphics/libs/libkexiv2/libkexiv2/kexiv2image.cpp#306

Sound like Exiv2 generate an exception. I suspect a problem with XMP with PEF
data (for ex.)

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

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





--- Comment #18 from Michal Thoma <michal thoma cz>  2009-05-24 00:45:09 ---
I don't think this issue is limited to PEF. I have this problem with my DNGs
(from Pentax) and just now I repeated the same wit NEF from Nikon D300.

--
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