<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:11px">Hello</span><div style="font-family:arial,sans-serif;font-size:11px"><br></div><div style="font-family:arial,sans-serif;font-size:11px">I want to implement "External tools" feature(as in kate was), and I already take look at digikam software compillation sources.</div>
<div style="font-family:arial,sans-serif;font-size:11px">Feature must allow to use custom script(external) to operate with image files. For examplt to create solid archive file with currently selected images.</div><div style="font-family:arial,sans-serif;font-size:11px">
As see it is a 3 ways to implement such feature:</div><div style="font-family:arial,sans-serif;font-size:11px">1. as batch tool</div><div style="font-family:arial,sans-serif;font-size:11px">advantages:</div><div style="font-family:arial,sans-serif;font-size:11px">
- easy to implement(simple BatchTool API - inherit BatchTool class and implement toolOperation as for example croptool does)</div><div style="font-family:arial,sans-serif;font-size:11px"> - settings and settingswidget factory out of the box</div>
<div style="font-family:arial,sans-serif;font-size:11px">disadvatages:</div><div style="font-family:arial,sans-serif;font-size:11px"> - is it possible to embed batch tool to context menu (right mouse click)?</div><div style="font-family:arial,sans-serif;font-size:11px">
<br></div><div style="font-family:arial,sans-serif;font-size:11px">2. as kipi plugin<br></div><div style="font-family:arial,sans-serif;font-size:11px"><div>advantages:</div><div> - settings and settingswidget factory out of the box</div>
<div> - context menu integration out of the box</div><div>disadvatages:</div><div> - little more complex kipi plugins API </div><div> - breaking semantics(as I think) of "image manipulation"... is for example 'creating archive' appear to be 'image manipulation'?</div>
<div><br></div><div>3. directrly embed to context menu like "open with" and other actions</div><div>advantages:</div><div> - i don't know</div><div>disadvatages:<br></div><div> - i don't know how to implement</div>
<div><br></div><div>What do you think about this?</div><div>Sorry for my english.</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/25 Yuri Samoilenko <span dir="ltr"><<a href="mailto:kinnalru@gmail.com" target="_blank">kinnalru@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>I want to implement "External tools" feature(as in kate was), and I already take look at digikam software compillation.</div>
<div>Feature must allow to use custom script(external) to operate with image lists. For examplt to create solid archive with currently selected images.</div>
<div>As see it is a 3 ways to implement such feature:</div><div>1. as batch tool</div><div><table style="border-spacing:0px;color:rgb(119,119,119);font-family:arial,sans-serif;font-size:13px"><tbody><tr><td style="padding:0px">
<div style="color:rgb(0,0,0);min-height:18px;margin:1px 0px;overflow:hidden;padding:0px;vertical-align:top;white-space:nowrap;direction:ltr"><br>advantages: </div></td></tr></tbody></table></div></div>
</blockquote></div><br></div>