[Digikam-users] DigiKam and ACDSee

Francis Corvin francis_ at gmx.net
Fri Mar 13 00:14:26 GMT 2015


Alan,

It looks like wherever you have ticked a child category, you also chose
to tick the parent category. There are cases where you do not
necessarily want to do this. For instance you could tick box 5.3 but not
box 5. In this case, the metadata would read:
<Category assigned="0">5 level<Category Assigned="1">5.3
Level</Category></Category>
That is one of the small complications facing those who would like to
write a conversion script. Like you say, I wish I could do it.
Conceptually, it is not too difficult. Practically, that's another matter...

Best regards,

Francis


On 2015-03-12 23:52, Alan Pater wrote:
> <div dir="ltr"><div><div>So, a script guru should be able to convert those
nested xml-like categories to lr.heirarchicalsubject format, no? I wish
I was that guru!<br><br></div>Anyway, I created a more complex example
in a trial version of ACDSee:<br><br><Categories><Category
Assigned="1">1 Level</Category><Category
Assigned="1">2 Level<Category
Assigned="1">2.2
Level</Category></Category><Category
Assigned="1">3 Level<Category
Assigned="1">3.2 Level<Category
Assigned="1">3.3
Level</Category></Category></Category><Category
Assigned="1">4 Level<Category
Assigned="1">4.2 Level<Category
Assigned="1">4.3 Level<Category
Assigned="1">4.4
Level</Category></Category></Category></Category><Category
Assigned="1">5 Level<Category
Assigned="1">5.2 Level<Category
Assigned="1">5.3 Level<Category
Assigned="1">5.4 Level<Category
Assigned="1">5.5 
Level</Category></Category></Category></Category></Category><Category
Assigned="1">6 Level<Category
Assigned="1">6.2 Level<Category
Assigned="1">6.3 Level<Category
Assigned="1">6.4 Level<Category
Assigned="1">6.5 Level<Category
Assigned="1">6.6 
Level</Category></Category></Category></Category></Category></Category></Categories><br><br></div>If
I am not mistaken, that would need to be converted to
lr.heirarchicalsubject format:<br><br>1 Level, 2 Level|2.2 Level, 3
Level|3.2 Level|3.3 Level, 4 Level|4.2 Level|4.3 Level|4.4 Level, 5
Level|5.2 Level|5.3 Level|5.4 Level|5.5 Level, 6 Level|6.2 Level|6.3
Level|6.4 Level|6.5 Level|6.6 Level <br><div><div><div><div
class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 11, 2015 at
7:17 PM, Heikki Rekki <span dir="ltr"><<a
href="mailto:heikkirekki at gmail.com"
target="_blank">heikkirekki at gmail.com</a>></span>
wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div
dir="ltr"><div style="font-size:large">Hi again!<br></div><div
style="font-size:large">Here is the foto, from whitch I readed metadata
with exiftool (listed below). I resized this so, that it is not so big 
here. And I categorized the foto again (old metadata cleared with my
resampling)<br></div><div style="font-size:large">How this
works?<br></div><div style="font-size:large">I suppose that I have also
some problem in my Windows, so I must resolve that next.<br></div><div
style="font-size:large">Heikki<br></div><div
class="gmail_extra"><br><div class="gmail_quote"><br><blockquote
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px
solid rgb(204,204,204);padding-left:1ex">
> <br>
> Today's Topics:<br>
> <br>
>    1. Re: DigiKam and ACDSee (Alan Pater)<br>
> <br>
> <br>
> ----------------------------------------------------------------------<br>
> <br>
> Message: 1<br>
> Date: Tue, 10 Mar 2015 13:03:47 -0500<br>
> From: Alan Pater <<a href="mailto:alan.pater at gmail.com"
target="_blank">alan.pater at gmail.com</a>><br>
> To: digiKam - Home Manage your photographs as a professional with the<br>
>         power of open source <<a
href="mailto:digikam-users at kde.org"
target="_blank">digikam-users at kde.org</a>>, Gilles Caulier<br>
>         <<a href="mailto:caulier.gilles at gmail.com"
target="_blank">caulier.gilles at gmail.com</a>><br>
> Subject: Re: [Digikam-users] DigiKam and ACDSee<br>
> Message-ID:<br>
>         <CAN4ACkbupyAmKOkE=vVR45XA=<a
href="mailto:790FOoNss7h9uMRiHj3zzEyjA at mail.gmail.com"
target="_blank">790FOoNss7h9uMRiHj3zzEyjA at mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
> <br>
> Here is a sample image with Categories added with the trial version of<br>
> ACDSee Pro 8.<br>
> <br>
> On Mon, Mar 9, 2015 at 4:45 PM, Gilles Caulier <<a
href="mailto:caulier.gilles at gmail.com"
target="_blank">caulier.gilles at gmail.com</a>><br>
> wrote:<br>
> <br>
> > As i said previously, please share images to investigate and
patch<br>
> > digiKAm code to import categories set by ACDSee. Typically, info
are<br>
> > there :<br>
> ><br>
> > Categories                      : <Categories><Category<br>
> > Assigned="0">Ihmiset<Category
Assigned="0">Oma perhe<Category<br>
> > Assigned="1">Marjatta</Category><Category<br>
> >
Assigned="1">Jouni</Category></Category></Category><Category<br>
> > Assigned="0">Paikat<Category
Assigned="1">koti<Category<br>
> >
Assigned="1">Kouvola</Category></Category></Category></Categories><br>
> ><br>
> > Gilles Caulier<br>
> ><br>
> > 2015-03-09 22:41 GMT+01:00 Heikki Rekki <<a
href="mailto:heikkirekki at gmail.com"
target="_blank">heikkirekki at gmail.com</a>>:<br>
> > ><br>
> > >> Hi Thanks Jim. I tried Exiftool and got following txt
file.<br>
> > ><br>
> > > ExifTool Version Number         : 9.89<br>
> > > File Name                       : P1070219.jpg<br>
> > > Directory                       :<br>
> > > e:/6-Kuvat/1-Kamera/1-Lumix/2012/2012-04-09<br>
> > > File Size                       : 3.2 MB<br>
> > > File Modification Date/Time     : 2012:04:09 17:25:33+03:00<br>
> > > File Access Date/Time           : 2012:04:09 17:25:33+03:00<br>
> > > File Creation Date/Time         : 2012:04:09 17:25:33+03:00<br>
> > > File Permissions                : rw-rw-rw-<br>
> > > File Type                       : JPEG<br>
> > > MIME Type                       : image/jpeg<br>
> > > Exif Byte Order                 : Little-endian (Intel, II)<br>
> > > Make                            : Panasonic<br>
> > > Camera Model Name               : DMC-FZ18<br>
> > > Orientation                     : Horizontal (normal)<br>
> > > X Resolution                    : 72<br>
> > > Y Resolution                    : 72<br>
> > > Resolution Unit                 : inches<br>
> > > Software                        : Nikon Transfer 1.5 W<br>
> > > Modify Date                     : 2012:04:09 17:19:10<br>
> > > Y Cb Cr Positioning             : Centered<br>
> > > Exposure Time                   : 1/50<br>
> > > F Number                        : 3.6<br>
> > > Exposure Program                : Program AE<br>
> > > ISO                             : 200<br>
> > > Exif Version                    : 0221<br>
> > > Date/Time Original              : 2012:04:09 13:36:59<br>
> > > Create Date                     : 2012:04:09 13:36:59<br>
> > > Components Configuration        : Y, Cb, Cr, -<br>
> > > Exposure Compensation           : 0<br>
> > > Max Aperture Value              : 2.8<br>
> > > Metering Mode                   : Multi-segment<br>
> > > Light Source                    : Flash<br>
> > > Flash                           : On, Fired<br>
> > > Focal Length                    : 13.6 mm<br>
> > > Warning                         : [minor] Possibly incorrect
maker notes<br>
> > > offsets (fix by -306?)<br>
> > > Image Quality                   : High<br>
> > > Firmware Version                : 0.1.0.8<br>
> > > White Balance                   : Auto<br>
> > > Focus Mode                      : Manual<br>
> > > AF Area Mode                    : 5-area<br>
> > > Image Stabilization             : On, Mode 2<br>
> > > Macro Mode                      : Off<br>
> > > Shooting Mode                   : Program<br>
> > > Audio                           : No<br>
> > > Data Dump                       : (Binary data 6152 bytes,
use -b option<br>
> > to<br>
> > > extract)<br>
> > > Flash Bias                      : 0<br>
> > > Internal Serial Number          : ""ÿÀ..x ..!.<br>
> > > Panasonic Exif Version          : 0230<br>
> > > Color Effect                    : Off<br>
> > > Time Since Power On             : 00:01:25.12<br>
> > > Burst Mode                      : Off<br>
> > > Sequence Number                 : 0<br>
> > > Contrast Mode                   : Normal<br>
> > > Noise Reduction                 : Standard<br>
> > > Self Timer                      : Off<br>
> > > Rotation                        : Horizontal (normal)<br>
> > > AF Assist Lamp                  : Enabled but Not Used<br>
> > > Color Mode                      : Normal<br>
> > > Optical Zoom Mode               : Standard<br>
> > > Conversion Lens                 : Off<br>
> > > Travel Day                      : n/a<br>
> > > World Time Location             : Home<br>
> > > Program ISO                     : 200<br>
> > > Advanced Scene Type             : 1<br>
> > > Faces Detected                  : 0<br>
> > > WB Shift AB                     : 5<br>
> > > WB Shift GM                     : -1<br>
> > > Maker Note Version              : 0120<br>
> > > Scene Mode                      : Off<br>
> > > WB Red Level                    : 1741<br>
> > > WB Green Level                  : 1054<br>
> > > WB Blue Level                   : 2027<br>
> > > Flash Fired                     : Yes<br>
> > > Text Stamp                      : Off<br>
> > > Baby Age                        :<br>
> > > Flashpix Version                : 0100<br>
> > > Color Space                     : sRGB<br>
> > > Exif Image Width                : 3264<br>
> > > Exif Image Height               : 2176<br>
> > > Interoperability Index          : R98 - DCF basic file
(sRGB)<br>
> > > Interoperability Version        : 0100<br>
> > > Sensing Method                  : One-chip color area<br>
> > > File Source                     : Digital Camera<br>
> > > Scene Type                      : Directly photographed<br>
> > > Custom Rendered                 : Normal<br>
> > > Exposure Mode                   : Auto<br>
> > > Digital Zoom Ratio              : 0<br>
> > > Focal Length In 35mm Format     : 86 mm<br>
> > > Scene Capture Type              : Standard<br>
> > > Gain Control                    : Low gain up<br>
> > > Contrast                        : Normal<br>
> > > Saturation                      : Normal<br>
> > > Sharpness                       : Normal<br>
> > > Compression                     : JPEG (old-style)<br>
> > > Thumbnail Offset                : 7702<br>
> > > Thumbnail Length                : 7789<br>
> > > XMP Toolkit                     : XMP Core 5.1.2<br>
> > > Rating Percent                  : 0<br>
> > > Caption                         :<br>
> > > Date Time                       : 2012:04:09 13:36:59.000<br>
> > > Author                          :<br>
> > > Notes                           :<br>
> > > Tagged                          : False<br>
> > > Categories                      :
<Categories><Category<br>
> > > Assigned="0">Ihmiset<Category
Assigned="0">Oma perhe<Category<br>
> > >
Assigned="1">Marjatta</Category><Category<br>
> > >
Assigned="1">Jouni</Category></Category></Category><Category<br>
> > > Assigned="0">Paikat<Category
Assigned="1">koti<Category<br>
> > >
Assigned="1">Kouvola</Category></Category></Category></Categories><br>
> > > Rating                          : 0<br>
> > > Label                           :<br>
> > > Image Width                     : 3264<br>
> > > Image Height                    : 2176<br>
> > > Encoding Process                : Baseline DCT, Huffman
coding<br>
> > > Bits Per Sample                 : 8<br>
> > > Color Components                : 3<br>
> > > Y Cb Cr Sub Sampling            : YCbCr4:2:2 (2 1)<br>
> > > Advanced Scene Mode             : Off<br>
> > > Aperture                        : 3.6<br>
> > > Blue Balance                    : 1.92315<br>
> > > Image Size                      : 3264x2176<br>
> > > Megapixels                      : 7.1<br>
> > > Red Balance                     : 1.651803<br>
> > > Scale Factor To 35 mm Equivalent: 6.3<br>
> > > Shutter Speed                   : 1/50<br>
> > > Thumbnail Image                 : (Binary data 7789 bytes,
use -b option<br>
> > to<br>
> > > extract)<br>
> > > Circle Of Confusion             : 0.005 mm<br>
> > > Field Of View                   : 23.6 deg<br>
> > > Focal Length                    : 13.6 mm (35 mm equivalent:
86.0 mm)<br>
> > > Hyperfocal Distance             : 10.81 m<br>
> > > Light Value                     : 8.3<br>
> > ><br>
> > ><br>
> > > Ican try to go on learning how I can use that. If I must
extract that<br>
> > > information separately all of my files and somehow input
them to DigiKam<br>
> > by<br>
> > > hand, I say no thanks, it is impossible.<br>
> > > sinc Heikki<br>
> <br>
> </blockquote></div><br></div></div>
> <br>_______________________________________________<br>
> Digikam-users mailing list<br>
> <a href="mailto:Digikam-users at kde.org">Digikam-users at kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/digikam-users"
target="_blank">https://mail.kde.org/mailman/listinfo/digikam-users</a><br>
> <br></blockquote></div><br></div></div></div></div></div>
>
> <BR><FIELDSET CLASS="mimeAttachmentHeader"></FIELDSET><BR/><pre wrap>
> _______________________________________________
> Digikam-users mailing list
> Digikam-users at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
> </pre></body>
> </html>
> </html>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20150313/d2ef0f52/attachment.html>


More information about the Digikam-users mailing list