[Digikam-users] command line tool to normalize exif orientation flag

jdd jdd at dodin.org
Thu May 31 18:53:55 BST 2012


Le 31/05/2012 17:21, Elle Stone a écrit :

> Test, test, and retest in a test directory on a small sample of images

command line tools are invaluable in that they report errors.

The ùessage below says there is somewhere an error. However, most kde 
tool *know* the image orientation, so may be the error is not the one 
given here?

for example, dolphin displays by default the images with the right 
orientation (that is vertical images are displayed vertical, 
acknowledging the tag). Genview display the image and the tag value 
correctly.

Digikam?? I don't know what digikam do. I use the 2.6RC, now. Whatever 
I try to do, the image is correctly displayed (vertical images are 
displayed vertically), but the exif tag is never changed (kept right, 
top when is should be top, left.

do digikam try to use the very same exif command line as below??

any idea of solution?
thanks
jdd

exiftool -n -r -overwrite_original -if '$Orientation ne 1' 
-Orientation=1 .
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.33.12.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.35.14.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.35.36.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.37.33.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.40.00.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.41.47.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.42.02.jpg
Error: [minor] Bad MakerNotes offset for tag 0x0 - ./2012-05-29 
18.53.37.jpg
     1 directories scanned
    33 files failed condition
     0 image files updated
     8 files weren't updated due to errors




More information about the Digikam-users mailing list