custom filter for files

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

custom filter for files

kinnalru@gmail.com
Is it possible to run custom filter/processor on selected in digikam files? 
For example i want to archive selected files: select, right click, export to.... custom filter wich make tar.gz?

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

Re: custom filter for files

tosca
Have you tried he advanced search, in the left panel? You can make selection on many criteria and combine several selection groups.

Marie-Noëlle


2013/10/23 Yuri Samoilenko <[hidden email]>
Is it possible to run custom filter/processor on selected in digikam files? 
For example i want to archive selected files: select, right click, export to.... custom filter wich make tar.gz?

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




--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

kinnalru@gmail.com
When I say 'filter' I mean "image processor", like "adjust brightness". I need custom filter "archive selected file". Sorry for my english.


2013/10/23 Marie-Noëlle Augendre <[hidden email]>
Have you tried he advanced search, in the left panel? You can make selection on many criteria and combine several selection groups.

Marie-Noëlle


2013/10/23 Yuri Samoilenko <[hidden email]>
Is it possible to run custom filter/processor on selected in digikam files? 
For example i want to archive selected files: select, right click, export to.... custom filter wich make tar.gz?

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




--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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



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

Re: custom filter for files

tosca
Sorry for the misunderstanding.

Select all the pictures you want to work on and put them in the batch tool manager. You can then apply any tool to the whole batch of pictures.
Marie-Noëlle


2013/10/23 Yuri Samoilenko <[hidden email]>
When I say 'filter' I mean "image processor", like "adjust brightness". I need custom filter "archive selected file". Sorry for my english.






--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

kinnalru@gmail.com
Yes, 'batch mode' is powerful tool, but is is has 'custom tool'? for example file archiver?


2013/10/23 Marie-Noëlle Augendre <[hidden email]>
Sorry for the misunderstanding.

Select all the pictures you want to work on and put them in the batch tool manager. You can then apply any tool to the whole batch of pictures.
Marie-Noëlle


2013/10/23 Yuri Samoilenko <[hidden email]>
When I say 'filter' I mean "image processor", like "adjust brightness". I need custom filter "archive selected file". Sorry for my english.






--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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



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

Re: custom filter for files

tosca
I'm not sure what you mean by 'custom tool'. It would be perhaps easier if you explain clearly what you want to do so we can answer with solutions Digikam can provide.
The batch tool manager can put the output files anywhere in the Digikam collections. If you want to put them elsewhere, you have all the export functions to outside systems/galleries/whatever.

Marie-Noëlle

2013/10/24 Yuri Samoilenko <[hidden email]>
Yes, 'batch mode' is powerful tool, but is is has 'custom tool'? for example file archiver?


2013/10/23 Marie-Noëlle Augendre <[hidden email]>
Sorry for the misunderstanding.

Select all the pictures you want to work on and put them in the batch tool manager. You can then apply any tool to the whole batch of pictures.
Marie-Noëlle






--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

Sveinn í Felli
In reply to this post by kinnalru@gmail.com
Agree, a bit more info would be helpful.
Maybe he's thinking about something very simple, such as the
"Export to Remote Computer" command. Which really should say
"Export copy to a location outside the DigiKam collection
branches" (but since it's a KIPI-plugin used for many other
KDE applications, the name has to be generic).
Alhough I don't see an option to use "Export to Remote
Computer" in a Batch Queue or any kind of saving outside of
the collection tree.

Best regards,
Sveinn í Felli

Þann fim 24.okt 2013 08:03, skrifaði Marie-Noëlle Augendre:

> I'm not sure what you mean by 'custom tool'. It would be
> perhaps easier if you explain clearly what you want to do so
> we can answer with solutions Digikam can provide.
> The batch tool manager can put the output files anywhere in
> the Digikam collections. If you want to put them elsewhere,
> you have all the export functions to outside
> systems/galleries/whatever.
>
> Marie-Noëlle
>
> 2013/10/24 Yuri Samoilenko <[hidden email]
> <mailto:[hidden email]>>
>
>     Yes, 'batch mode' is powerful tool, but is is has
>     'custom tool'? for example file archiver?
>
>
>     2013/10/23 Marie-Noëlle Augendre <[hidden email]
>     <mailto:[hidden email]>>
>
>         Sorry for the misunderstanding.
>
>         Select all the pictures you want to work on and put
>         them in the batch tool manager. You can then apply
>         any tool to the whole batch of pictures.
>         Marie-Noëlle
>
>
>
>
>
>
> --
> <http://marie-noelle-augendre.com/photos/>
> Retrouvez mon portfolio et mes activités dans ma galerie
> personnelle <http://marie-noelle-augendre.com/photos/>, mes
> reportages sur Jingoo <http://www.jingoo.com/mnaugendre/>
> Et bien sûr la page Photographe en Cévennes
> <http://www.facebook.com/PhotographeEnCevennes> sur FB, et
> mon compte Twitter <http://twitter.com/MNAugendre>.
>
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

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

Re: custom filter for files

tosca
In reply to this post by kinnalru@gmail.com
You have to do it in two steps:
 - treatment with the batch tool manager, and put the resulting files in a temporary file inside Digikam
 - then output the content of this file using the "Export to ..."

I don't remember if there is some plan to include the export modules in the batch tool manager, or not.

Marie-Noëlle


2013/10/24 Sveinn í Felli <[hidden email]>
Agree, a bit more info would be helpful.
Maybe he's thinking about something very simple, such as the "Export to Remote Computer" command. Which really should say "Export copy to a location outside the DigiKam collection branches" (but since it's a KIPI-plugin used for many other KDE applications, the name has to be generic).
Alhough I don't see an option to use "Export to Remote Computer" in a Batch Queue or any kind of saving outside of the collection tree.

Best regards,
Sveinn í Felli



--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

Remco Viëtor
In reply to this post by kinnalru@gmail.com
On Thursday 24 October 2013 08:34:10 Sveinn í Felli wrote:
> Agree, a bit more info would be helpful.
> Maybe he's thinking about something very simple, such as the
> "Export to Remote Computer" command. Which really should say
> "Export copy to a location outside the DigiKam collection
> branches" (but since it's a KIPI-plugin used for many other
> KDE applications, the name has to be generic).
> Alhough I don't see an option to use "Export to Remote
> Computer" in a Batch Queue or any kind of saving outside of
> the collection tree.
...
> > 2013/10/24 Yuri Samoilenko <[hidden email]
> > <mailto:[hidden email]>>
> >
> >     Yes, 'batch mode' is powerful tool, but is is has
> >     'custom tool'? for example file archiver?

From what I read in Yuri's messages; he wants to add images to a file
archive. AFAIK, that's not possible from within Digikam. It is also the
kind of operation that's not available at all in the batch tools (as it
works on the queue, not on the individual files).

So the best he can do is probably:
 - export the files he wants archived to a separate directory, and
 - from there add them to the archive from outside Digikam.

Of course, adding files to an archive can also be done using the Digikam
file tree and any decent file manager (with the proper plug-ins
installed...), but that is probably more complicated in practice.

And I don't think Digikam has any kind of scripting possibilities.

Remco

PS - as an aside, 'adding to archive'  could perhaps be implemented in the
'target' section of the Batch Queue dialog, though I've no idea about the
number of uses such an option would have (archiving a compressed file
format doesn't reduce the final size in general, so the main benefit of
archiving would be packaging for easier handling).

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

Re: custom filter for files

tosca



2013/10/24 Remco Viëtor <[hidden email]>

From what I read in Yuri's messages; he wants to add images to a file
archive.

We may also ask why putting the files into in an archive? To send them over the web? There might be other simpler solutions.
Does he need to do this once? Or frequently? For backup? Or for sending to someone else?

What it the real purpose at the root of the initial question?

Marie-Noëlle


--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

Remco Viëtor
On Thursday 24 October 2013 11:36:52 Marie-Noëlle Augendre wrote:
> 2013/10/24 Remco Viëtor <[hidden email]>
>
> >
> > From what I read in Yuri's messages; he wants to add images to a file
> > archive.
> >
>
> We may also ask why putting the files into in an archive? To send them
over
> the web? There might be other simpler solutions.
> Does he need to do this once? Or frequently? For backup? Or for sending
to
> someone else?
>
> What it the real purpose at the root of the initial question?
>

Of course, answers to those questions might give him more useful answers.

But for now, all I can do is answer the question he poses, and I don't want
to assume why he wants to create such archives (and my crystal ball is not
working properly at the moment ;) )

Remco

(One  use case could be adding images to an archive with file of other
types to have a complete package with everything in one place, think e-
books and such)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: custom filter for files

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


On Thu, 24 Oct 2013, Marie-Noëlle Augendre wrote:

> I'm not sure what you mean by 'custom tool'. It would be perhaps easier if
> you explain clearly what you want to do so we can answer with solutions
> Digikam can provide.
> The batch tool manager can put the output files anywhere in the Digikam
> collections. If you want to put them elsewhere, you have all the export
> functions to outside systems/galleries/whatever.


Hello,

Well, I think I see what Yuri means with « custom tool », for I happen
to have similar issues.
Custom tool could be any user defined processor, accepting one or more
images files on input, and producing ... something.

And, regarding to that definition, Digikam batch queue manager can't
run any processing, but only predefined processing tools, to choose
in a fixed list. But it's not possible to someone to invent a tool,
then run it from Digikam.

From my point of view, there are two solutions, an elegant one and a
dirty one.

The elegant solution, not existing yet, would be that a future release
of DK provide a kind of user defined processing tool.
Il could be part of the batch manager, one should be able to select
a list of tools, existing ones and user supplied ones.
Registering a user supplied tool would be just specifying the path
of a user written script.
During batch queue processing, this script could be called for each
file in the selection queue.
(NB: registering a user supplied tool should probably ask for a path
and also an option, run tool for each image file or run tool once
with all the selected files.)

The dirty solution is to use the KDE clipboard. Primitive but working.
I use to do that when I want some « custom processing » the BQM can't
provide.
From Digikam I select images, using search criteria, then I copy
the selection to clipboard (a simple Ctrl-C). Or, if the thumbnails
view is the result of a search, Ctrl-A to select all, then Ctrl-C to
copy to clipboard.

In a separate terminal window, I start a script then I paste from the
clipboard, Ctrl-V or Shift-Ctrl-V depending on the console program
used.
Of course the script has to be designed to read a list of images files
names on its standard input. (And removing the leading URI notation
from clipboard, file:/the/path/of/the/image...)

I agree it's not that great, but it's a very fast way to use Digikam
to select images, then provide the list of matching files to any kind
of personal tool.
And it works exactly the same with a file browser like Dolphin.
The clipboard intends to share infos between applications,
why not use it.

Hope this could help, at least until a future more elegant solution.

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

Re: custom filter for files

tosca
In reply to this post by Remco Viëtor



2013/10/24 Remco Viëtor <[hidden email]>

Of course, answers to those questions might give him more useful answers.

But for now, all I can do is answer the question he poses, and I don't want
to assume why he wants to create such archives (and my crystal ball is not
working properly at the moment ;) )

Remco

I guess it's my former consultant's cap that comes back! ;-)
I hate to search a solution to a question that has already be 'oriented'; and when you take a couple of steps back, and see the whole problem, you could find imagine something so more creative and simple...
 

(One  use case could be adding images to an archive with file of other
types to have a complete package with everything in one place, think e-
books and such)

I create both photo-books and e-books on the same machine with Scribus and Sigil respectively, so I've no need for an archive for that. I usually begin to work with rather small thumbnails as dummies to do the layout; and when I'm sure of the final size for each picture, I do a proper job of resizing/converting to png/jpg or whatever.
But every step, it's only a matter to export from Digikam's collection to files in the computer system files.

Marie-Noëlle
 



--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

kinnalru@gmail.com
In reply to this post by Jean-François Rabasse-2
Yes you're right.

About use case: i want send some photos over internet as one(may be encrypted) file



2013/10/24 Jean-François Rabasse <[hidden email]>


On Thu, 24 Oct 2013, Marie-Noëlle Augendre wrote:

I'm not sure what you mean by 'custom tool'. It would be perhaps easier if
you explain clearly what you want to do so we can answer with solutions
Digikam can provide.
The batch tool manager can put the output files anywhere in the Digikam
collections. If you want to put them elsewhere, you have all the export
functions to outside systems/galleries/whatever.


Hello,

Well, I think I see what Yuri means with « custom tool », for I happen
to have similar issues.
Custom tool could be any user defined processor, accepting one or more
images files on input, and producing ... something.

And, regarding to that definition, Digikam batch queue manager can't
run any processing, but only predefined processing tools, to choose
in a fixed list. But it's not possible to someone to invent a tool,
then run it from Digikam.

From my point of view, there are two solutions, an elegant one and a
dirty one.

The elegant solution, not existing yet, would be that a future release
of DK provide a kind of user defined processing tool.
Il could be part of the batch manager, one should be able to select
a list of tools, existing ones and user supplied ones.
Registering a user supplied tool would be just specifying the path
of a user written script.
During batch queue processing, this script could be called for each
file in the selection queue.
(NB: registering a user supplied tool should probably ask for a path
and also an option, run tool for each image file or run tool once
with all the selected files.)

The dirty solution is to use the KDE clipboard. Primitive but working.
I use to do that when I want some « custom processing » the BQM can't
provide.
From Digikam I select images, using search criteria, then I copy
the selection to clipboard (a simple Ctrl-C). Or, if the thumbnails
view is the result of a search, Ctrl-A to select all, then Ctrl-C to
copy to clipboard.

In a separate terminal window, I start a script then I paste from the
clipboard, Ctrl-V or Shift-Ctrl-V depending on the console program
used.
Of course the script has to be designed to read a list of images files
names on its standard input. (And removing the leading URI notation
from clipboard, file:/the/path/of/the/image...)

I agree it's not that great, but it's a very fast way to use Digikam
to select images, then provide the list of matching files to any kind
of personal tool.
And it works exactly the same with a file browser like Dolphin.
The clipboard intends to share infos between applications,
why not use it.

Hope this could help, at least until a future more elegant solution.

Cheers,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



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

Re: custom filter for files

Jean-François Rabasse-2
In reply to this post by kinnalru@gmail.com


On Thu, 24 Oct 2013, Yuri Samoilenko wrote:

> Yes you're right.
>
> About use case: i want send some photos over internet as one(may be
> encrypted) file

Well, hope someone could help you with a more regular technique, but
the trick I mentionned, using the clipboard as an interface, is very
simple to achieve the above.

- Select yous images in Digikam, then Ctrl-C to copy to clipboard.
- In a terminal window, run a script and feed it with your filenames
   with Shift-Ctrl-V.
   Add a final Ctrl-D to close standard input when you're done.
   (Note that you can issue several selections in DK, and copy/paste
   one after the other, before the final Ctrl-D)

The script itself could be very simple, two lines :

#!/bin/bash
cat | sed 's'?file:..//' > /tmp/temp-names
tar czv --file=photos.tgz --files-from=/tmp/temp-names

One line to read standard input, drop the leading URI mark, save
into a temporay file.
One line to build the archive with files from the temporary file.

Of course, you can make it more sophisticated, add extra processing
(resizing images with convert, add extra metadata with exiftool, etc.)

It's a somewhat rough technique, but you have maximum flexibility as
you master the script, and can do anything. And once the script is
written, it's very fast.

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

Re: custom filter for files

Sveinn í Felli
In reply to this post by Jean-François Rabasse-2
Þann fim 24.okt 2013 11:51, skrifaði Yuri Samoilenko:
> Yes you're right.
>
> About use case: i want send some photos over internet as
> one(may be encrypted) file
>

If sending via e-mail, check if your email client doesn't
have an extension for this; for Thunderbird there's "Auto
Compress File"-extension (no encryption, but can work with
attachments sent from DigiKam).

Sveinn

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

Re: custom filter for files

tosca
In reply to this post by kinnalru@gmail.com
And why wouldn't you try http://wetransfer.com/ ?

Marie-Noëlle


2013/10/24 Yuri Samoilenko <[hidden email]>
Yes you're right.

About use case: i want send some photos over internet as one(may be encrypted) file



2013/10/24 Jean-François Rabasse <[hidden email]>


On Thu, 24 Oct 2013, Marie-Noëlle Augendre wrote:

I'm not sure what you mean by 'custom tool'. It would be perhaps easier if
you explain clearly what you want to do so we can answer with solutions
Digikam can provide.
The batch tool manager can put the output files anywhere in the Digikam
collections. If you want to put them elsewhere, you have all the export
functions to outside systems/galleries/whatever.


Hello,

Well, I think I see what Yuri means with « custom tool », for I happen
to have similar issues.
Custom tool could be any user defined processor, accepting one or more
images files on input, and producing ... something.

And, regarding to that definition, Digikam batch queue manager can't
run any processing, but only predefined processing tools, to choose
in a fixed list. But it's not possible to someone to invent a tool,
then run it from Digikam.

From my point of view, there are two solutions, an elegant one and a
dirty one.

The elegant solution, not existing yet, would be that a future release
of DK provide a kind of user defined processing tool.
Il could be part of the batch manager, one should be able to select
a list of tools, existing ones and user supplied ones.
Registering a user supplied tool would be just specifying the path
of a user written script.
During batch queue processing, this script could be called for each
file in the selection queue.
(NB: registering a user supplied tool should probably ask for a path
and also an option, run tool for each image file or run tool once
with all the selected files.)

The dirty solution is to use the KDE clipboard. Primitive but working.
I use to do that when I want some « custom processing » the BQM can't
provide.
From Digikam I select images, using search criteria, then I copy
the selection to clipboard (a simple Ctrl-C). Or, if the thumbnails
view is the result of a search, Ctrl-A to select all, then Ctrl-C to
copy to clipboard.

In a separate terminal window, I start a script then I paste from the
clipboard, Ctrl-V or Shift-Ctrl-V depending on the console program
used.
Of course the script has to be designed to read a list of images files
names on its standard input. (And removing the leading URI notation
from clipboard, file:/the/path/of/the/image...)

I agree it's not that great, but it's a very fast way to use Digikam
to select images, then provide the list of matching files to any kind
of personal tool.
And it works exactly the same with a file browser like Dolphin.
The clipboard intends to share infos between applications,
why not use it.

Hope this could help, at least until a future more elegant solution.

Cheers,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users



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




--

Retrouvez mon portfolio et mes activités dans ma galerie personnelle, mes reportages sur Jingoo
Et bien sûr la page Photographe en Cévennes sur FB, et mon compte Twitter.

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

Re: custom filter for files

Remco Viëtor
In reply to this post by Jean-François Rabasse-2
On Thursday 24 October 2013 14:39:23 Jean-François Rabasse wrote:

>
> On Thu, 24 Oct 2013, Yuri Samoilenko wrote:
>
> > Yes you're right.
> >
> > About use case: i want send some photos over internet as one(may be
> > encrypted) file
>
> Well, hope someone could help you with a more regular technique, but
> the trick I mentionned, using the clipboard as an interface, is very
> simple to achieve the above.
>
> - Select yous images in Digikam, then Ctrl-C to copy to clipboard.
> - In a terminal window, run a script and feed it with your filenames
>    with Shift-Ctrl-V.
>    Add a final Ctrl-D to close standard input when you're done.
>    (Note that you can issue several selections in DK, and copy/paste
>    one after the other, before the final Ctrl-D)
>
> The script itself could be very simple, two lines :
>
> #!/bin/bash
> cat | sed 's'?file:..//' > /tmp/temp-names
> tar czv --file=photos.tgz --files-from=/tmp/temp-names
>
...
> Jean-François
What might work as well (not tested) is drag&drop from Digikam into Ark
(compression utility). D&d works from Digikam to Hugin panorama stitcher
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: custom filter for files

Jean-François Rabasse-2

On Thu, 24 Oct 2013, Remco Viëtor wrote:

> What might work as well (not tested) is drag&drop from Digikam into Ark
> (compression utility). D&d works from Digikam to Hugin panorama stitcher

Yes, perfectly right. And Drag/Drop is not fundamentaly different from
Copy/Paste via the clipboard.
I am a Hugin user too.

The trick I mentionned was more focused on « custom tool », as Yuri said,
than on building an archive from a list of selected images. From what
I understood in Yuri's e-mail, building an archive was an example of
custom processing, not the definitive aim. But I may be wrong.
And custom tool could be, a priori, anything and should accomodate for
any user required processing.

That's why I really believe an elegant solution could be, in a future,
the possibility of hooking user's processors into the BQM.
Such a feature could enhance widely the batch processor that could work
upon a logic like :
- select your files
- select your tools in the supplied tools list
- add, if any, your own tools (requires a name + a script path)

With that, one can batch absolutely any processing.

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

Re: custom filter for files

kinnalru@gmail.com

I will look at batch tools code this holiday, may be I can implement simple ‘custom script processor‘.

24.10.2013 21:21 пользователь "Jean-François Rabasse" <[hidden email]> написал:

On Thu, 24 Oct 2013, Remco Viëtor wrote:

What might work as well (not tested) is drag&drop from Digikam into Ark
(compression utility). D&d works from Digikam to Hugin panorama stitcher

Yes, perfectly right. And Drag/Drop is not fundamentaly different from
Copy/Paste via the clipboard.
I am a Hugin user too.

The trick I mentionned was more focused on « custom tool », as Yuri said, than on building an archive from a list of selected images. From what
I understood in Yuri's e-mail, building an archive was an example of
custom processing, not the definitive aim. But I may be wrong.
And custom tool could be, a priori, anything and should accomodate for
any user required processing.

That's why I really believe an elegant solution could be, in a future,
the possibility of hooking user's processors into the BQM.
Such a feature could enhance widely the batch processor that could work
upon a logic like :
- select your files
- select your tools in the supplied tools list
- add, if any, your own tools (requires a name + a script path)

With that, one can batch absolutely any processing.

Cheers,
Jean-François
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


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