filter chaining in editor tool

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

filter chaining in editor tool

Matthias Welwarsky-2
Hello,

how can I chain two filters in an editor tool? I want to use a Levels and an
Invert filter in sequence, the Invert filter working on the output of the
Levels filter. But the setFilter method only allows for setting a single
filter.

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

Re: filter chaining in editor tool

Gilles Caulier-4
Hi Mathias.

This is why Batch Queue Manager exist. You cann do it as well into editor.

But for the moment, level tool is not yet ported to BQM. It still
todo. If you is interrested to code it (:=)))...

Best

Gilles Caulier

2012/2/4 Matthias Welwarsky <[hidden email]>:

> Hello,
>
> how can I chain two filters in an editor tool? I want to use a Levels and an
> Invert filter in sequence, the Invert filter working on the output of the
> Levels filter. But the setFilter method only allows for setting a single
> filter.
>
> regards,
> matthias
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: filter chaining in editor tool

Matthias Welwarsky-2
On Saturday 04 February 2012 12:11:25 Gilles Caulier wrote:
> Hi Mathias.
>
> This is why Batch Queue Manager exist. You cann do it as well into editor.
>
> But for the moment, level tool is not yet ported to BQM. It still
> todo. If you is interrested to code it (:=)))...

Actually, I'd rather try to do it like in RawProcessingFilter, implementing a
simple helper filter that calls LevelsFilter and then InvertFilter. But
LevelsFilter doesn't implement chaining and InvertFilter doesn't seem to work
as a slave.

>
> Best
>
> Gilles Caulier
>
> 2012/2/4 Matthias Welwarsky <[hidden email]>:
> > Hello,
> >
> > how can I chain two filters in an editor tool? I want to use a Levels
> > and an Invert filter in sequence, the Invert filter working on the
> > output of the Levels filter. But the setFilter method only allows for
> > setting a single filter.
> >
> > regards,
> > matthias
> > _______________________________________________
> > Digikam-devel mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-devel
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: filter chaining in editor tool

Gilles Caulier-4
This si why;, porting level tool to BQM is better. Invertfilter
already exist in BQM.

Level tool must be ported as Curve tool.

Gilles

2012/2/4 Matthias Welwarsky <[hidden email]>:

> On Saturday 04 February 2012 12:11:25 Gilles Caulier wrote:
>> Hi Mathias.
>>
>> This is why Batch Queue Manager exist. You cann do it as well into editor.
>>
>> But for the moment, level tool is not yet ported to BQM. It still
>> todo. If you is interrested to code it (:=)))...
>
> Actually, I'd rather try to do it like in RawProcessingFilter, implementing a
> simple helper filter that calls LevelsFilter and then InvertFilter. But
> LevelsFilter doesn't implement chaining and InvertFilter doesn't seem to work
> as a slave.
>
>>
>> Best
>>
>> Gilles Caulier
>>
>> 2012/2/4 Matthias Welwarsky <[hidden email]>:
>> > Hello,
>> >
>> > how can I chain two filters in an editor tool? I want to use a Levels
>> > and an Invert filter in sequence, the Invert filter working on the
>> > output of the Levels filter. But the setFilter method only allows for
>> > setting a single filter.
>> >
>> > regards,
>> > matthias
>> > _______________________________________________
>> > Digikam-devel mailing list
>> > [hidden email]
>> > https://mail.kde.org/mailman/listinfo/digikam-devel
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel