How is Nepomuk integration supposed to work?

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

How is Nepomuk integration supposed to work?

Paul Worrall
I have selected "Store metadata from digiKam in Nepomuk", then I set a rating
for one of my photos (e.g. three stars).  When I select the same photo in
Dolphin it has no stars assigned.  Similarly if I set a tag in digiKam, the
tag does not appear in Dolphin.

I have also tried the "Fully Resynchronise again" button.  This button stays
depressed when I click on it, but nothing else seems to happen. None of my
digiKam  tags or ratings show up in Dolphin.

Maybe I've missed something?

--
Paul
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How is Nepomuk integration supposed to work?

Anders Lund
Hello Paul

Torsdag den 1. november 2012 20:07:25 skrev Paul Worrall:

> I have selected "Store metadata from digiKam in Nepomuk", then I set a
> rating for one of my photos (e.g. three stars).  When I select the same
> photo in Dolphin it has no stars assigned.  Similarly if I set a tag in
> digiKam, the tag does not appear in Dolphin.
>
> I have also tried the "Fully Resynchronise again" button.  This button stays
> depressed when I click on it, but nothing else seems to happen. None of my
> digiKam  tags or ratings show up in Dolphin.
>
> Maybe I've missed something?

In that case I did too, and I am also interrested in this. I would like to be
able to find images with nepomuk search based on tags and flags!

Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How is Nepomuk integration supposed to work?

Simon Cropper-3
In reply to this post by Paul Worrall
On 02/11/12 07:07, Paul Worrall wrote:

> I have selected "Store metadata from digiKam in Nepomuk", then I set a rating
> for one of my photos (e.g. three stars).  When I select the same photo in
> Dolphin it has no stars assigned.  Similarly if I set a tag in digiKam, the
> tag does not appear in Dolphin.
>
> I have also tried the "Fully Resynchronise again" button.  This button stays
> depressed when I click on it, but nothing else seems to happen. None of my
> digiKam  tags or ratings show up in Dolphin.
>
> Maybe I've missed something?
>

Hi Paul,

I don't have Nepomuk running so I can't test but I was under the
impression it only stored file data.

Check that you tags, ratings, comments and other metadata are being
stored in your images. Trial one file then see if you can see the data
in other applications - like Dolphin.

If you can't se your data it is not Nepomuk it is the fact that your
metadata is not being saved to file. Check the settings for this in the
"Digikams Preferences"

Once you established the file's metadata is being updated rerun the
indexer for Nepomuk to see if they appear.

--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How is Nepomuk integration supposed to work?

Paul Worrall
On Friday 02 November 2012 09:34:23 Simon Cropper wrote:

> On 02/11/12 07:07, Paul Worrall wrote:
> > I have selected "Store metadata from digiKam in Nepomuk", then I set a
> > rating for one of my photos (e.g. three stars).  When I select the same
> > photo in Dolphin it has no stars assigned.  Similarly if I set a tag in
> > digiKam, the tag does not appear in Dolphin.
> >
> > I have also tried the "Fully Resynchronise again" button.  This button
> > stays depressed when I click on it, but nothing else seems to happen.
> > None of my digiKam  tags or ratings show up in Dolphin.
> >
> > Maybe I've missed something?
>
> Hi Paul,
>
> I don't have Nepomuk running so I can't test but I was under the
> impression it only stored file data.
>
> Check that you tags, ratings, comments and other metadata are being
> stored in your images. Trial one file then see if you can see the data
> in other applications - like Dolphin.
>
> If you can't se your data it is not Nepomuk it is the fact that your
> metadata is not being saved to file. Check the settings for this in the
> "Digikams Preferences"
>
> Once you established the file's metadata is being updated rerun the
> indexer for Nepomuk to see if they appear.

Thanks for your suggestions Simon.

I've got digiKam set to write image tags, caption and title and rating
metadata to the file, although I would not have thought this was necessary in
order for digiKam to store metadata in the Nepomuk database.

1.  Changes to tags, caption and rating are still not visible in Dolphin,
although it does show things like the camera make and model which must have
been read into Nepomuk from the file's metadata, and I can run a nepomuk search
using these fields.

2. If I open a file in Gwenview and use Plugins=>Images=>Metadata=>Edit all
Metadata, then I can see that the tags, caption and title are present in
various metadata fields confirming that they have been written to the file.

3. In Gwenview, the "Semantic information" side panel does not show the
rating, tags or description that I assigned in digiKam. I think this shows
that the data has not been synchronised with Nepomuk.

4. Nepomuk is set to index the folder containing my photos

5. I don't see any way to rerun the Nepomuk indexer, but I think it normally
detects changes to files automatically.

In summary, I do not see any sign that the digiKam tags, ratings, caption and
title etc. are being stored in Nepomuk.

--
Paul
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How is Nepomuk integration supposed to work?

Marcel Wiesweg
In reply to this post by Paul Worrall

It was supposed to work and worked, but Nepomuk interfaces changed over the
years, and the integration is broken. It is disabled and deprecated, needs to
be rewritten.

> I have selected "Store metadata from digiKam in Nepomuk", then I set a
> rating for one of my photos (e.g. three stars).  When I select the same
> photo in Dolphin it has no stars assigned.  Similarly if I set a tag in
> digiKam, the tag does not appear in Dolphin.
>
> I have also tried the "Fully Resynchronise again" button.  This button stays
> depressed when I click on it, but nothing else seems to happen. None of my
> digiKam  tags or ratings show up in Dolphin.
>
> Maybe I've missed something?
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How is Nepomuk integration supposed to work?

Simon Cropper-3
In reply to this post by Paul Worrall
On 02/11/12 20:31, Paul Worrall wrote:

> On Friday 02 November 2012 09:34:23 Simon Cropper wrote:
>> On 02/11/12 07:07, Paul Worrall wrote:
>>> I have selected "Store metadata from digiKam in Nepomuk", then I set a
>>> rating for one of my photos (e.g. three stars).  When I select the same
>>> photo in Dolphin it has no stars assigned.  Similarly if I set a tag in
>>> digiKam, the tag does not appear in Dolphin.
>>>
>>> I have also tried the "Fully Resynchronise again" button.  This button
>>> stays depressed when I click on it, but nothing else seems to happen.
>>> None of my digiKam  tags or ratings show up in Dolphin.
>>>
>>> Maybe I've missed something?
>>
>> Hi Paul,
>>
>> I don't have Nepomuk running so I can't test but I was under the
>> impression it only stored file data.
>>
>> Check that you tags, ratings, comments and other metadata are being
>> stored in your images. Trial one file then see if you can see the data
>> in other applications - like Dolphin.
>>
>> If you can't se your data it is not Nepomuk it is the fact that your
>> metadata is not being saved to file. Check the settings for this in the
>> "Digikams Preferences"
>>
>> Once you established the file's metadata is being updated rerun the
>> indexer for Nepomuk to see if they appear.
>
> Thanks for your suggestions Simon.
>
> I've got digiKam set to write image tags, caption and title and rating
> metadata to the file, although I would not have thought this was necessary in
> order for digiKam to store metadata in the Nepomuk database.
>
> 1.  Changes to tags, caption and rating are still not visible in Dolphin,
> although it does show things like the camera make and model which must have
> been read into Nepomuk from the file's metadata, and I can run a nepomuk search
> using these fields.
>
> 2. If I open a file in Gwenview and use Plugins=>Images=>Metadata=>Edit all
> Metadata, then I can see that the tags, caption and title are present in
> various metadata fields confirming that they have been written to the file.
>
> 3. In Gwenview, the "Semantic information" side panel does not show the
> rating, tags or description that I assigned in digiKam. I think this shows
> that the data has not been synchronised with Nepomuk.
>
> 4. Nepomuk is set to index the folder containing my photos
>
> 5. I don't see any way to rerun the Nepomuk indexer, but I think it normally
> detects changes to files automatically.
>
> In summary, I do not see any sign that the digiKam tags, ratings, caption and
> title etc. are being stored in Nepomuk.
>

Seems to me that nepomuk is not seeing all the metadata. Check if it is
missing XMP or ITPC data. Ratings and other stuff is in the XMP data and
ITPC data but named differently.

--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Exif information lost when resizing photo's?

Sjoerd
In reply to this post by Paul Worrall
When resizing several photos to place them on the web, i noticed that all the
exif information is lost. Has anybody a solution for that?
I also would like that the resized photos would have the creation date of the
original as timestamp.

I am using Digikam 2.9.0...

Cheers,

Sjoerd

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Anders Lund
On Lørdag den 3. november 2012 13:09:11 sjoerd wrote:
> When resizing several photos to place them on the web, i noticed that all
> the exif information is lost. Has anybody a solution for that?
> I also would like that the resized photos would have the creation date of
> the original as timestamp.
>
> I am using Digikam 2.9.0...

What did you do to resize them?

--
Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

jdd@dodin.org
In reply to this post by Sjoerd
Le 03/11/2012 13:09, sjoerd a écrit :
> When resizing several photos to place them on the web, i noticed that all the
> exif information is lost. Has anybody a solution for that?
> I also would like that the resized photos would have the creation date of the
> original as timestamp.
>
> I am using Digikam 2.9.0...

but resizing how?

jdd


--
http://dodin.org
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Sjoerd
In reply to this post by Anders Lund
On Saturday, November 03, 2012 01:21:24 PM Anders Lund wrote:
> On Lørdag den 3. november 2012 13:09:11 sjoerd wrote:
> > When resizing several photos to place them on the web, i noticed that all
> > the exif information is lost. Has anybody a solution for that?
> > I also would like that the resized photos would have the creation date of
> > the original as timestamp.
> >
> > I am using Digikam 2.9.0...
>
> What did you do to resize them?

Simple:  selecting the pictures i want to resize and then via "Tools" ->
"resize images..."
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Anders Lund
On Lørdag den 3. november 2012 14:14:46 sjoerd wrote:

> On Saturday, November 03, 2012 01:21:24 PM Anders Lund wrote:
> > On Lørdag den 3. november 2012 13:09:11 sjoerd wrote:
> > > When resizing several photos to place them on the web, i noticed that
> > > all
> > > the exif information is lost. Has anybody a solution for that?
> > > I also would like that the resized photos would have the creation date
> > > of
> > > the original as timestamp.
> > >
> > > I am using Digikam 2.9.0...
> >
> > What did you do to resize them?
>
> Simple:  selecting the pictures i want to resize and then via "Tools" ->
> "resize images..."

That is using the imagemagick convert tool, it works fine for me, all the
metadata is kept (visible if i open the image in gwenview for example).

An alternative is to use the batch que, which is using internal functinality.
Also works for me.

--
Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Simon Cropper-3
In reply to this post by Sjoerd
On 03/11/12 23:09, sjoerd wrote:

> When resizing several photos to place them on the web, i noticed that all the
> exif information is lost. Has anybody a solution for that?
> I also would like that the resized photos would have the creation date of the
> original as timestamp.
>
> I am using Digikam 2.9.0...
>
> Cheers,
>
> Sjoerd
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

Two options...

1. Save original metadata using digikam then apply it to the resized
images. One by one...

2. Use exiv2 (http://www.exiv2.org/) program to export data from
original and apply to the resized copy. Potential to automate with script...

The later option can be integrated with Imagemagik
http://www.imagemagick.org/script/command-line-options.php

http://www.imagemagick.org/Usage/resize/

--
Cheers Simon

    Simon Cropper - Open Content Creator

    Free and Open Source Software Workflow Guides
    ------------------------------------------------------------
    Introduction               http://www.fossworkflowguides.com
    GIS Packages           http://www.fossworkflowguides.com/gis
    bash / Python    http://www.fossworkflowguides.com/scripting
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Sjoerd
In reply to this post by Anders Lund
On Saturday, November 03, 2012 03:04:54 PM Anders Lund wrote:

> On Lørdag den 3. november 2012 14:14:46 sjoerd wrote:
> > On Saturday, November 03, 2012 01:21:24 PM Anders Lund wrote:
> > > On Lørdag den 3. november 2012 13:09:11 sjoerd wrote:
> > > > When resizing several photos to place them on the web, i noticed that
> > > > all
> > > > the exif information is lost. Has anybody a solution for that?
> > > > I also would like that the resized photos would have the creation date
> > > > of
> > > > the original as timestamp.
> > > >
> > > > I am using Digikam 2.9.0...
> > >
> > > What did you do to resize them?
> >
> > Simple:  selecting the pictures i want to resize and then via "Tools" ->
> > "resize images..."
>
> That is using the imagemagick convert tool, it works fine for me, all the
> metadata is kept (visible if i open the image in gwenview for example).
>
> An alternative is to use the batch que, which is using internal
> functinality. Also works for me.

Thanks for the hint in the direction of Imagemagick...converting from the
commandline (convert -resize 800x600 file.jpg smallfile.jpg) gave the same
result, so I looked into the installed imagemagick packages and found out that
there was only a package "graphicsmagick-imagemagick-compat" (kubuntu)
installed and NOT the imagemagick itself. Still gave the convert tool though.
Anyway to make a long story short: after installing imagemagick it all works
fine now.

Thanks!

Cheers,
Sjoerd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Sjoerd
On Sunday, November 04, 2012 07:44:50 AM sjoerd wrote:

> Thanks for the hint in the direction of Imagemagick...converting from the
> commandline (convert -resize 800x600 file.jpg smallfile.jpg) gave the same
> result, so I looked into the installed imagemagick packages and found out
> that there was only a package "graphicsmagick-imagemagick-compat" (kubuntu)
> installed and NOT the imagemagick itself. Still gave the convert tool
> though. Anyway to make a long story short: after installing imagemagick it
> all works fine now.
>

Oh and another thing....digikam resizing is very slow compared to commandline,
so I'll stick to that. Also gives me an easier opportunity to restore the
creation date of the resized file to set with the jhead tool :)

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Anders Lund
On Søndag den 4. november 2012 07:49:08 sjoerd wrote:

> On Sunday, November 04, 2012 07:44:50 AM sjoerd wrote:
> > Thanks for the hint in the direction of Imagemagick...converting from the
> > commandline (convert -resize 800x600 file.jpg smallfile.jpg) gave the same
> > result, so I looked into the installed imagemagick packages and found out
> > that there was only a package "graphicsmagick-imagemagick-compat"
> > (kubuntu)
> > installed and NOT the imagemagick itself. Still gave the convert tool
> > though. Anyway to make a long story short: after installing imagemagick it
> > all works fine now.
>
> Oh and another thing....digikam resizing is very slow compared to
> commandline, so I'll stick to that. Also gives me an easier opportunity to
> restore the creation date of the resized file to set with the jhead tool :)

Glad I could help :)


--
Anders
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Jean-François Rabasse
In reply to this post by Sjoerd

On Sun, 4 Nov 2012, sjoerd wrote:

> Thanks for the hint in the direction of Imagemagick...converting from the
> commandline (convert -resize 800x600 file.jpg smallfile.jpg) gave the same
> result, so I looked into the installed imagemagick packages and found out that
> there was only a package "graphicsmagick-imagemagick-compat" (kubuntu)
> installed and NOT the imagemagick itself. Still gave the convert tool though.
> Anyway to make a long story short: after installing imagemagick it all works
> fine now.

Hello,

Some extra comments about the use of the ImageMagick 'convert' tool.
(I use 'convert' to build my web versions of images.)

1. I confirm that 'convert' always keeps image metadata in the target
file, this is its default behaviour. And if and only if you wish *not
to keep metadata*, you need to add a specific option :
    convert file.jpg -resize '800x800>' -strip smallfile.jpg

(Btw, I'll suggest you use rather the « bounding box » syntax to resize
your images. With something like "-resize '800x800>'" you ensure
the larger dimension of your image will be 800, be it the width or
the height, and the aspect ratio will be preserved.
When using explicit dimensions, "-resize 800x600", if you happen to
process a portrait oriented image or an image with an aspect ratio
different from 4:3 (3:2 is a common value with SLR cameras) you will
get distorsions on your final image.)


2. In my opinion, 'convert' also has a useful option for web usage
and can produce progressive JPEG (more pleasant display for users
concerned with low bandwith issues as I am:-) :
    convert file.jpg -resize '800x800>' -interlace plane smallfile.jpg


3. Last, you can also control the JPEG quality factor (and compression
level) of your small images. The default value for 'convert' is 95%
but when generating small size images, 500 to 700 pixels, you can
lower to 90 or 85%, e.g. :
    convert file.jpg ... -quality 90 ... smallfile.jpg
and have an effective gain in output file size (typically half the size)
without visible losses for screen display usage.
(Smaller size means smaller disk usage on your web hosting and faster
faster loading time when browsing.)
The good quality value should be determined via test and look.


Hope these hints can help...

Regards,
Jean-François


> Oh and another thing....digikam resizing is very slow compared to
> commandline, so I'll stick to that. Also gives me an easier
> opportunity to restore the creation date of the resized file to set
> with the jhead tool :)

I confirm, command line processing is really faster, don't know why...
Probably, using a small script 'my-resizing' gives maximum flexibility.
One can process directories, tune options, quality, interlacing, and also
perform all what 'convert' can do, adding texts, copyright, watermarking,
etc.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Exif information lost when resizing photo's?

Gilles Caulier-4



2012/11/4 Jean-François Rabasse <[hidden email]>

On Sun, 4 Nov 2012, sjoerd wrote:

Thanks for the hint in the direction of Imagemagick...converting from the
commandline (convert -resize 800x600 file.jpg smallfile.jpg) gave the same
result, so I looked into the installed imagemagick packages and found out that
there was only a package "graphicsmagick-imagemagick-compat" (kubuntu)
installed and NOT the imagemagick itself. Still gave the convert tool though.
Anyway to make a long story short: after installing imagemagick it all works
fine now.

Hello,

Some extra comments about the use of the ImageMagick 'convert' tool.
(I use 'convert' to build my web versions of images.)

1. I confirm that 'convert' always keeps image metadata in the target
file, this is its default behaviour. And if and only if you wish *not
to keep metadata*, you need to add a specific option :
   convert file.jpg -resize '800x800>' -strip smallfile.jpg

(Btw, I'll suggest you use rather the « bounding box » syntax to resize
your images. With something like "-resize '800x800>'" you ensure
the larger dimension of your image will be 800, be it the width or
the height, and the aspect ratio will be preserved.
When using explicit dimensions, "-resize 800x600", if you happen to
process a portrait oriented image or an image with an aspect ratio
different from 4:3 (3:2 is a common value with SLR cameras) you will
get distorsions on your final image.)


2. In my opinion, 'convert' also has a useful option for web usage
and can produce progressive JPEG (more pleasant display for users
concerned with low bandwith issues as I am:-) :
   convert file.jpg -resize '800x800>' -interlace plane smallfile.jpg


3. Last, you can also control the JPEG quality factor (and compression
level) of your small images. The default value for 'convert' is 95%
but when generating small size images, 500 to 700 pixels, you can
lower to 90 or 85%, e.g. :
   convert file.jpg ... -quality 90 ... smallfile.jpg
and have an effective gain in output file size (typically half the size)
without visible losses for screen display usage.
(Smaller size means smaller disk usage on your web hosting and faster
faster loading time when browsing.)
The good quality value should be determined via test and look.


Warning : quality = 100 is not lossless. Only JPEG used in medecine world can do that. It's patented and not implemented in opensource.
 

Hope these hints can help...

Regards,
Jean-François


Oh and another thing....digikam resizing is very slow compared to
commandline, so I'll stick to that. Also gives me an easier
opportunity to restore the creation date of the resized file to set

with the jhead tool :)

I confirm, command line processing is really faster, don't know why...
Probably, using a small script 'my-resizing' gives maximum flexibility.
One can process directories, tune options, quality, interlacing, and also
perform all what 'convert' can do, adding texts, copyright, watermarking,
etc.

It use JPEG lib crop feature. Image is not decoded and re-encoded. But on JPEG support that.

Gilles Caulier

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users