[Bug 200357] New: digikam, exif rotation, thumbnail not rotated

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

[Bug 200357] New: digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357

           Summary: digikam,exif rotation, thumbnail not rotated
           Product: digikam
           Version: 1.0.0-beta2
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta2 (using 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2)),
Mandriva Linux release 2010.0 (Cooker) for i586)
Compiler:          gcc
OS:                Linux (i686) release 2.6.30-desktop-2mnb

becareful don't confuse with bug #200031 wich is about transforming an image by
rotation

in this bug report we only modify the orientation tag
of the image. we don't touch the image

assume a photo with 3472x2604 top-left

i rotate the photo with image/adjust exif orientation/left rotation
result :

in digikam we see
- photo is well rotated
- in exif data  : 3472x2604 left-bottom : good

but for the thumnail we see :

- top-left

this is false this must be bottom-left

--
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 200357] digikam, exif rotation, thumbnail not rotated

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


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Workflow




--
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 200357] digikam, exif rotation, thumbnail not rotated

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Workflow                    |Thumbnails




--
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 200357] digikam, exif rotation, thumbnail not rotated

Marcel Wiesweg
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357


Marcel Wiesweg <[hidden email]> changed:

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




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-01 15:00:39 ---
Andreas, I CC your for some info here. My problem is which orientation flag is
taken into account for the Exif or the Iptc preview.
1) From the spec it seems there is an optional Exif.Thumbnail.Orientation which
determines the rotation of the Exif thumbnail.
2) If there is no Exif.Thumbnail.Orientation, the Exif thumbnail need not be
rotated according to Exif.Image.Orientation?
3) If I change the Exif.Image.Orientation, do I need to change the
Exif.Thumbnail.Orientation or even rotate the thumbnail image data?
4) Does the Exif.Image.Orientation affect the Iptc.Application2.Preview image?
5) So when I change the Exif.Image.Orientation, do I need to do anything about
the IPTC preview? Rotate the actual image data?

Thanks!

--
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 200357] digikam, exif rotation, thumbnail not rotated

Bugzilla from ahuggel@gmx.net
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #2 from Andreas Huggel <ahuggel gmx net>  2009-08-03 17:25:27 ---
Hi Marcel,

For 1), 2) and 3), I suggest to follow the "Guidelines For Handling Image
Metadata" from the Metadata Working Group
(http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf page 36)

For 4) and 5), in the spirit of the guidelines above, it is good practice to
write the IPTC thumbnail Image also in the same orientation as the Primary
Image, in my opinion, although the two specs are not related.

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 200357] digikam, exif rotation, thumbnail not rotated

Marcel Wiesweg
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-03 21:07:15 ---
Philippe, can you send me a sampe picture to test? I dont find one currently
with extra thumnail 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 200357] digikam, exif rotation, thumbnail not rotated

Marcel Wiesweg
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-08-03 21:25:21 ---
SVN commit 1006456 by mwiesweg:

If a dedicated orientation flag for the EXIF thumbnail exists adjust it as
well.

CCBUG: 200357


 M  +12 -0     kexiv2image.cpp  


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

--
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 200357] digikam, exif rotation, thumbnail not rotated

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-08-15 11:25:35 ---
Philippe,

To test Marcel changes, you need to use libkexiv2 from trunk and recompile
digiKam against.

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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #6 from Philippe ROUBACH <philippe roubach free fr>  2009-09-03 13:42:41 ---
Created an attachment (id=36654)
 --> (http://bugs.kde.org/attachment.cgi?id=36654)
picture to test

(In reply to comment #3)
> Philippe, can you send me a sampe picture to test? I dont find one currently
> with extra thumnail 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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #7 from Philippe ROUBACH <philippe roubach free fr>  2009-09-03 13:47:41 ---
digikam 1.0.0b4
kipi-plugins 0.5.0

pb still there

--
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 200357] digikam, exif rotation, thumbnail not rotated

Marcel Wiesweg
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357


Marcel Wiesweg <[hidden email]> changed:

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




--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-09-26 17:48:34 ---
Test image unchanged:

Exif.Image.Orientation                       Short       1  top, left
Exif.Thumbnail.Orientation                   Short       1  top, left

Test image after assigning Exif rotation tag:

Exif.Image.Orientation                       Short       1  left, bottom
Exif.Thumbnail.Orientation                   Short       1  left, bottom
Xmp.tiff.Orientation                         XmpText     1  left, bottom

as requested in original report.

--
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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #9 from Philippe ROUBACH <philippe roubach free fr>  2009-10-10 11:50:53 ---
digikam 1.0.0b5
kipi-plugins 0.7

LibKExiv2: 0.6.0

pb still there

this bug must be reopened (i can't)

--
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 200357] digikam, exif rotation, thumbnail not rotated

Marcel Wiesweg
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #10 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-10-10 12:59:01 ---
You will see this change only with libkexiv2 versions after SVN revision
1006456. Coming with KDE4.4 packages at least.

--
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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #11 from Philippe ROUBACH <philippe roubach free fr>  2009-12-06 13:07:04 ---
(In reply to comment #10)
> You will see this change only with libkexiv2 versions after SVN revision
> 1006456. Coming with KDE4.4 packages at least.

i updated my test system

now i have
kde 4.4b1 (4.3.80)
and
libkexiv2_8
 ‎/usr/lib/libkexiv2.so.8
 ‎/usr/lib/libkexiv2.so.8.0.0

is it the libkexiv2 you speak about ?
 ‎/usr/share/apps/libkexiv2/data/topicset.iptc-subjectcode.xml

--
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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #12 from Philippe ROUBACH <philippe roubach free fr>  2009-12-06 13:42:10 ---
i made this experiment :

assume a landscape photo 3472(x)x2604(y)
thus with "top,left" orientation

i rotate 90° counterclock with "exif orientation/left rotate"
then
i see a portrait photo
with following data :
3472(x)x2604(y) : unchanged : good
orientation : left,bottom : good
preview orientation : left,bottom : good

which is now all good if i understand the principle : change "orientation"
parameter but don't touch the photo thus leave it in landscape orientation

now i must check the photo in the file is well still in landscape 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 200357] digikam, exif rotation, thumbnail not rotated

Philippe ROUBACH
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357





--- Comment #13 from Philippe ROUBACH <philippe roubach free fr>  2009-12-06 14:03:27 ---
i check with exiftool that the preview and the photo are landscape oriented

this is good

this bug report may be closed ?

--
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 200357] digikam, exif rotation, thumbnail not rotated

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta2                 |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
Reply | Threaded
Open this post in threaded view
|

[Bug 200357] digikam, exif rotation, thumbnail not rotated

Gilles Caulier-4
In reply to this post by Philippe ROUBACH
https://bugs.kde.org/show_bug.cgi?id=200357

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |1.0.0

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