[digiKam-users] Grouping images by filename

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

[digiKam-users] Grouping images by filename

krz.kapusta
Hi

I noticed that the "Group Selected By Filename" option groups images with only exactly matching filenames. This is great for a wide variety of use cases, but definitely not all of them.

I am mostly working with images and videos out of my GoPro. Sometimes with photo series or even long timelapses. It would be great if Digikam recognized these and grouped all series automatically together.

Usually images have filenames that end with an incrementing number. Moreover time difference between photos is the same in the entire series.

I wanted to start contributing to the project and this caught my interest. What do you think about this feature?

Reply | Threaded
Open this post in threaded view
|

Re: Grouping images by filename

Gilles Caulier-4
Hi,

why not to try to contribute. This kind of feature will be certainly interresting for other DK users. So i recommend to checkout code from git/master, look in source code, make a patch, and create a new file in bugzilla with this file attached.

Look in documentation from digikam.org/api for the details.

Best

Gilles Caulier

Le dim. 21 oct. 2018 à 22:44, krz.kapusta <[hidden email]> a écrit :
Hi

I noticed that the "Group Selected By Filename" option groups images with only exactly matching filenames. This is great for a wide variety of use cases, but definitely not all of them.

I am mostly working with images and videos out of my GoPro. Sometimes with photo series or even long timelapses. It would be great if Digikam recognized these and grouped all series automatically together.

Usually images have filenames that end with an incrementing number. Moreover time difference between photos is the same in the entire series.

I wanted to start contributing to the project and this caught my interest. What do you think about this feature?

Reply | Threaded
Open this post in threaded view
|

Re: Grouping images by filename

meku
In reply to this post by krz.kapusta
This is a much asked for feature so it would be worth reviewing previous discussions and patches and perhaps you can build on their work. One such example is https://bugs.kde.org/show_bug.cgi?id=318357

On Mon, 22 Oct 2018 at 07:44, krz.kapusta <[hidden email]> wrote:
Hi

I noticed that the "Group Selected By Filename" option groups images with only exactly matching filenames. This is great for a wide variety of use cases, but definitely not all of them.

I am mostly working with images and videos out of my GoPro. Sometimes with photo series or even long timelapses. It would be great if Digikam recognized these and grouped all series automatically together.

Usually images have filenames that end with an incrementing number. Moreover time difference between photos is the same in the entire series.

I wanted to start contributing to the project and this caught my interest. What do you think about this feature?

Reply | Threaded
Open this post in threaded view
|

Re: Grouping images by filename

krz.kapusta
Thanks for all the answers!

I think the bugzilla feature mentioned by @meku  https://bugs.kde.org/show_bug.cgi?id=318357 (grouping by regex) tries to solve a more complex task than what I had in mind. 

I went ahead and created a bugzilla feature https://bugs.kde.org/show_bug.cgi?id=400777 along with a patch for the functionality as I would imaging it.
It combines knowledge about timestamps and filenames to try to divide photos into groups of timelapses (or bursts). During my initial testing this has proven to work just I wanted it to.

I'm interested what you think of such a feature landing in Digikam in the future.

śr., 24 paź 2018 o 00:17 meku <[hidden email]> napisał(a):
This is a much asked for feature so it would be worth reviewing previous discussions and patches and perhaps you can build on their work. One such example is https://bugs.kde.org/show_bug.cgi?id=318357

On Mon, 22 Oct 2018 at 07:44, krz.kapusta <[hidden email]> wrote:
Hi

I noticed that the "Group Selected By Filename" option groups images with only exactly matching filenames. This is great for a wide variety of use cases, but definitely not all of them.

I am mostly working with images and videos out of my GoPro. Sometimes with photo series or even long timelapses. It would be great if Digikam recognized these and grouped all series automatically together.

Usually images have filenames that end with an incrementing number. Moreover time difference between photos is the same in the entire series.

I wanted to start contributing to the project and this caught my interest. What do you think about this feature?

Reply | Threaded
Open this post in threaded view
|

Re: Grouping images by filename

Gilles Caulier-4
Thanks a lot for your patch and your bugzilla entry. We will checkout code when ASAP.

Note : providing a patch for digiKam must always be done against git/master version, not a stable tarball.

In 6.0.0 we make important changes in API, source code directories, and start to introduce plenty of unit tests. So your current patch cannot be applied to git/master. See comment from Maik in your bugzilla entry.

Best

Gilles Caulier

Le mer. 7 nov. 2018 à 04:12, krz.kapusta <[hidden email]> a écrit :
Thanks for all the answers!

I think the bugzilla feature mentioned by @meku  https://bugs.kde.org/show_bug.cgi?id=318357 (grouping by regex) tries to solve a more complex task than what I had in mind. 

I went ahead and created a bugzilla feature https://bugs.kde.org/show_bug.cgi?id=400777 along with a patch for the functionality as I would imaging it.
It combines knowledge about timestamps and filenames to try to divide photos into groups of timelapses (or bursts). During my initial testing this has proven to work just I wanted it to.

I'm interested what you think of such a feature landing in Digikam in the future.

śr., 24 paź 2018 o 00:17 meku <[hidden email]> napisał(a):
This is a much asked for feature so it would be worth reviewing previous discussions and patches and perhaps you can build on their work. One such example is https://bugs.kde.org/show_bug.cgi?id=318357

On Mon, 22 Oct 2018 at 07:44, krz.kapusta <[hidden email]> wrote:
Hi

I noticed that the "Group Selected By Filename" option groups images with only exactly matching filenames. This is great for a wide variety of use cases, but definitely not all of them.

I am mostly working with images and videos out of my GoPro. Sometimes with photo series or even long timelapses. It would be great if Digikam recognized these and grouped all series automatically together.

Usually images have filenames that end with an incrementing number. Moreover time difference between photos is the same in the entire series.

I wanted to start contributing to the project and this caught my interest. What do you think about this feature?