[Digikam-devel] [digikam] [Bug 314441] Rename settings and auto-rotation while importing ignored [patch]

Peter Albrecht px79 at crazymonkeys.de
Mon Sep 1 21:02:10 BST 2014


https://bugs.kde.org/show_bug.cgi?id=314441

--- Comment #77 from Peter Albrecht <px79 at crazymonkeys.de> ---
Tested with digikam 4.2.0 on KDE 4.12.5 (gentoo linux):

 - auto rotation does not work: 
     - "portrait" fotos are imported as "landscape"
     - clicking from the digikam menu "Image -> Auto Rotate / Flip Using Exif
Information" does rotate them to the correct portrait orientation (after
import, so orientation tag is present in image file)
     - in digikam settings I have turned off "Show images/thumbnails rotated
according to orientation tag"

 - renaming (my personal file rename pattern):
"[cam]{range:13,15}-[file]{lower}.[ext]{lower}"
   - working:
      - plain character as seperators: "-" and "."
      - plain text: "eos"
      - "[file]" -> "IMG_9885"
      - "[ext]" -> "JPG"
      - "[date]" -> "20140901T203242" (time, the picture was taken)
      - '[date:"yyyy-MM-dd_hh-mm-ss"]' -> "2014-09-01_20-32-42" (time, the
picture was taken)
      - modifier "{lower}", "{upper}", "{firstupper}"
      - modifier "{trim}"
      - modifier "{removedoubles}"
      - modifier '{default:"..."}' -> expands to the given default text as
expected
      - modifier '{replace:"IMG","XXX",i}' -> replaces "IMG" with "XXX"
      - modifier '{replace:"\w+_","PIC",ri}' -> replaces "IMG_" with "PIC"
(RegExp)
      - modifier "{range:...}"
      - even modifier combinations work: '[cam]{default:"spaces  "}{trim}end'
becomes "spacesend"

   - failing:
      1) "[cam]" (selected by clicking "Camera" in the Options-Popup-Menu)
becomes an empty string (should be something like "Canon EOS 550D" (in my
case))
      2) "[meta:Exif.Photo.DateTimeOriginal]"
      3) "[meta:Exif.Photo.ExposureTime]"
      4) "[meta:Exif.Image.Model]"
      5) "[meta:Exif.Canon.ModelID]"
      => I guess all "[meta:Exif....]" fail, since I could not find a single
working one
      6) "[dir]" (in my case it is an empty string, which looks wrong; I guess
it should either be "100CANON" (source dir) or "New Fotos" (destination dir);
the online help is not that clear at this point)
      7) "[user]" / "[group]" (file's user and group access settings) -> empty
string
      8) modifier "{unique}": Add for example "[ext]{unique}" in the middle of
the filename and select three images in the download window
            -> this will preview the following filenames: "...JPG...",
"...JPG_1...", "...JPG_2..."
            -> so far so good :)
            -> but if you click "Download Selected", you will find three images
in your digikam collection with the names:
                    "...JPG_3...", "...JPG_4...", "...JPG_5..."
            => so the unique-counter is not reset between "display the preview"
and "really import the images"
      9) "###" -> same problem as "{unique}" modifier: counter not reset; with
three files selected:
            -> preview: "001", "002", "003"
            -> imported files: "004", "005", "006"

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list