[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: GMIC in Krita
From:       Lukast dev <lukast.dev () gmail ! com>
Date:       2013-09-21 10:18:02
Message-ID: CAKdU0rPrA-7oKM23EanE6ckEk8AZH=6bDcEDYo9Kw-h2m3=iWw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Silvio,

> Did you manage to make it working the recolorize filter as well [0]?

hopefully tonight we will see it working, it is my highest priority right
now to make it work!

> .s: Yesterday, David Tschumperlé (aka Ronounours) has replied to the mail
by Leinir [1] concering the patch for the Windows builds :-)

This is great! Nice to see collaboration between gmic and Krita!
Cheers

Lukas



2013/9/21 silvio grosso <grossosilvio@yahoo.it>

> Hi Lukas,
>
> Thanks a lot indeed for this *HUGE* contribution to the Krita project! :-)
>
> Did you manage to make it working the recolorize filter as well [0]?
> IMHO, it would be really useful...
> In addition, I am sure Animtim (and other painters) would be really happy
> to give it a try :-)
>
> P.s: Yesterday, David Tschumperlé (aka Ronounours) has replied to the
> mail by Leinir [1] concering the patch for the Windows builds :-)
>
> My best regards and keep rocking :-)
>
> Silvio Grosso
> [0] http://gimpchat.com/viewtopic.php?f=28&t=6207&start=20
> [1]
> http://gimpchat.com/viewtopic.php?f=28&t=8477&sid=6cfdef78806574097f05faf75fe84fea
>
>
>   ------------------------------
>  *Da:* Lukast dev <lukast.dev@gmail.com>
> *A:* Krita's developers and users mailing list <kimageshop@kde.org>
> *Inviato:* Sabato 21 Settembre 2013 11:53
>
> *Oggetto:* Re: GMIC in Krita
>
> Testers are welcomed!
>
>  I blacklisted all filters that crashed on my machine (it is
> semi-automatic process)
> so now we have 74% of filters confirmed as working. 26% of filters are
> blacklisted.
>
> Crashes are there most likely due to:
> a) bad parsing of gmic file format
> b) missing features (multiple input / multiple output / unexpected output
> colorspace)
>
> Lukas
>
> 2013/9/15 Paul Geraskin <paulgeraskin@gmail.com>
>
> Super! Just let me know if you need a tester :-)
> 15.09.2013 0:58 пользователь "Lukast dev" <lukast.dev@gmail.com> написал:
>
> >
> > Hi,
> >
> > I just wanted to let you know that Gmic plug-in for Krita was merged to
> master.
> > It is very experimental currently and it eats kittens (crashes can be
> expected)
> >
> > Here are banch of working filters
> > http://i.imgur.com/WvDHxhz.jpg
> >
> >   Curent status of gmic filters in Krita:
> >     - total filters: 260
> >     - known failings (blacklisted filters): 18
> >     - known success: 80
> >
> > The testing of filters is automatic but takes time, so I will blacklist
> all crashing filters.
> >
> > Multi-layer input filters are not working yet. That is my next priority
> to fix (so that recolorize works etc.)
> >
> > Cheers
> > Lukas
> >
> >
> >
> > 2013/4/21 Lukast dev <lukast.dev@gmail.com>
> >>
> >> Hi Jay,
> >>
> >> >  - Re-Use of Parameter Information
> >> > You can see there are lines within gmic_def.NNNN that define "Poster
> Edges"
> >> > filter and also specifies the types and ranges of the input
> variables.  The
> >> > gmic_gimp plugin uses those definitions to present a user interface.
> >> > Perhaps "#@gimp" lines should change to "#@interface" or something
> more
> >> > Krita friendly.
> >>
> >> Krita friendly? It's ok to let it be :)
> >>
> >> >  - Version Control of Core "DEF" file
> >> > If you did split-out just those parts of the gmic_def then you may
> need to
> >> > maintain your fork
> >>
> >> I don't want to fork at all.
> >> I'd like to be able to link dynamically against gmic,
> >> so that Linux distributions provide always up-to-date
> >> gmic.
> >>
> >> >  - Rewriting 8-bit scripts : TO DO
> >> > Since 2.9/2.10 are moving to higher bit depth and deprecating the
> existing
> >> > plugin interface, it seems likely a GMIC Script GEGL node will be
> made that
> >> > always requests a 32bit-float RGBA format, in which case many GMIC
> scripts
> >> > that assume a 0-255 8bit value from the current plug-in will need to
> be
> >> > amended to cope.
> >>
> >> It's little bit confusing with 255.0 values of pixels and this options
> >> and 8-bit encoding.
> >>
> >> GMIC is using Float32 bit internally but expect that the picture is in
> range
> >> 0.0 - 255.0 to work nicely with parameters of filters.
> >>
> >> Krita is representing pixel in Float32 in range 0.0-1.0.
> >> So for now I normalize it on input and output.
> >> David showed me command in gmic that can do that, no problem.
> >>
> >> >  - ColourSpace Assumption
> >> > As far as I understand values passed from GIMP are for an sRGB
> Colourspace
> >> > but most of the plugins currently make no adjustment to linearise
> before
> >> > processing - this is something better curation of filters could solve.
> >>
> >> Do we need linear rgb? What would be the real benefits for users?
> >>
> >>
> >> > There are also some "features" of the Alpha channel handling.  Most
> scripts
> >> > that ignore Alpha will delete the transparency rather than retain it.
> >> > Again, it's a matter of curation.
> >>
> >> Uh, good to know this! Thanks!
> >>
> >> > I'd be interested in a more database driven system to track versions
> of
> >> > filters and maximise user interaction.  There was something in KDE
> that Boud
> >> > mentioned at LGM as being worth looking at but I am a Windows user
> myself
> >> > and have not found it yet.  A hosted repository with some kind of
> upload,
> >> > search, tagging, user-feedback but also version control and regression
> >> > testing would seem desirable in addition to curation metadata about
> >> > colourspace and transparency etc..
> >>
> >> GetHotNewStuff http://ghns.freedesktop.org/
> >>
> >> Regards,
> >> Lukas
> >
> >
> >
> > _______________________________________________
> > Krita mailing list
> > kimageshop@kde.org
> > https://mail.kde.org/mailman/listinfo/kimageshop
> >
>
> _______________________________________________
> Krita mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>
>
> _______________________________________________
> Krita mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>
>
> _______________________________________________
> Krita mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>

[Attachment #5 (text/html)]

<div dir="ltr">Hi Silvio,<div><br></div><div><span style="font-family:&#39;times new \
roman&#39;,&#39;new york&#39;,times,serif;font-size:16px">&gt; Did you manage to make \
it working the recolorize filter as well [0]?</span><br> </div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px"><br></span></div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">hopefully tonight we will see it working, it is \
my highest priority right now to make it work!</span></div> <div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px"><br></span></div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">&gt;  </span><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">.s: Yesterday, David  </span><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">Tschumperlé</span><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">  (aka Ronounours) has replied to the mail by \
Leinir [1] concering the patch for the Windows builds :-)</span></div> <div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px"><br></span></div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">This is great! Nice to see collaboration \
between gmic and Krita!</span><br> </div><div><span style="font-family:&#39;times new \
roman&#39;,&#39;new york&#39;,times,serif;font-size:16px">Cheers</span></div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px"><br> </span></div><div><span \
style="font-family:&#39;times new roman&#39;,&#39;new \
york&#39;,times,serif;font-size:16px">Lukas</span></div><div><br></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">2013/9/21 silvio grosso <span \
dir="ltr">&lt;<a href="mailto:grossosilvio@yahoo.it" \
target="_blank">grossosilvio@yahoo.it</a>&gt;</span><br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new \
roman,new york,times,serif">Hi Lukas,<br><br>Thanks a lot indeed for this *HUGE* \
contribution to the Krita project! :-)<br> <br>Did you manage to make it working the \
recolorize filter as well [0]?<br>IMHO, it would be really useful...<br>In addition, \
I am sure Animtim (and other painters) would be really happy to give it a try \
:-)<br><br>P.s: Yesterday, David <span>Tschumperlé</span> (aka Ronounours) has \
replied to the mail by Leinir [1] concering the patch for the Windows builds :-)<br> \
<br>My best regards and keep rocking :-)<br><br>Silvio Grosso<br>[0] <a \
href="http://gimpchat.com/viewtopic.php?f=28&amp;t=6207&amp;start=20" \
target="_blank">http://gimpchat.com/viewtopic.php?f=28&amp;t=6207&amp;start=20</a><br>
  [1] <a href="http://gimpchat.com/viewtopic.php?f=28&amp;t=8477&amp;sid=6cfdef78806574097f05faf75fe84fea" \
target="_blank">http://gimpchat.com/viewtopic.php?f=28&amp;t=8477&amp;sid=6cfdef78806574097f05faf75fe84fea</a><br><div>
 <span><br></span></div><div><br><blockquote style="border-left:2px solid \
rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div \
style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div \
style="font-family:times new roman,new york,times,serif;font-size:12pt">  <div \
dir="ltr"> <hr size="1">  <font face="Arial"> <b><span \
style="font-weight:bold">Da:</span></b> Lukast dev &lt;<a \
href="mailto:lukast.dev@gmail.com" target="_blank">lukast.dev@gmail.com</a>&gt;<br> \
<b><span style="font-weight:bold">A:</span></b> Krita&#39;s developers and users \
mailing list &lt;<a href="mailto:kimageshop@kde.org" \
target="_blank">kimageshop@kde.org</a>&gt; <br>  <b><span \
style="font-weight:bold">Inviato:</span></b> Sabato 21 Settembre 2013 11:53<div \
class="im"><br> <b><span style="font-weight:bold">Oggetto:</span></b> Re: GMIC in \
Krita<br> </div></font> </div> <div><br><div><div class="h5"> <div><div \
dir="ltr">Testers are welcomed!<div><br></div><div>  I blacklisted all filters that \
crashed on my machine (it is semi-automatic process)<div>so now we have 74% of \
filters confirmed as working. 26% of filters are blacklisted.</div>

<div><br></div><div>Crashes are there most likely due to:<br></div><div>a) bad \
parsing of gmic file format<br></div><div>b) missing features (multiple input / \
multiple output / unexpected output colorspace)</div><div><div>

<br></div></div></div><div>Lukas<br><br><div>2013/9/15 Paul Geraskin <span \
dir="ltr">&lt;<a rel="nofollow" href="mailto:paulgeraskin@gmail.com" \
target="_blank">paulgeraskin@gmail.com</a>&gt;</span><br> <blockquote style="margin:0 \
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Super! Just let me know if \
you need a tester :-)</div> <div>15.09.2013 0:58 пользователь \
&quot;Lukast dev&quot; &lt;<a rel="nofollow" href="mailto:lukast.dev@gmail.com" \
target="_blank">lukast.dev@gmail.com</a>&gt; написал:</div><div><div><br> \
&gt;<br> &gt; Hi,  <br>
&gt;<br>
&gt; I just wanted to let you know that Gmic plug-in for Krita was merged to \
master.<br> &gt; It is very experimental currently and it eats kittens (crashes can \
be expected)<br> &gt;<br>
&gt; Here are banch of working filters<br>
&gt; <a rel="nofollow" href="http://i.imgur.com/WvDHxhz.jpg" \
target="_blank">http://i.imgur.com/WvDHxhz.jpg</a><br> &gt;<br>
&gt;    Curent status of gmic filters in Krita:<br>
&gt;       - total filters: 260<br>
&gt;       - known failings (blacklisted filters): 18<br>
&gt;       - known success: 80<br>
&gt;<br>
&gt; The testing of filters is automatic but takes time, so I will blacklist all \
crashing filters.<br> &gt;<br>
&gt; Multi-layer input filters are not working yet. That is my next priority to fix \
(so that recolorize works etc.)<br> &gt;<br>
&gt; Cheers<br>
&gt; Lukas<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; 2013/4/21 Lukast dev &lt;<a rel="nofollow" href="mailto:lukast.dev@gmail.com" \
target="_blank">lukast.dev@gmail.com</a>&gt;<br> &gt;&gt;<br>
&gt;&gt; Hi Jay,<br>
&gt;&gt;<br>
&gt;&gt; &gt;   - Re-Use of Parameter Information<br>
&gt;&gt; &gt; You can see there are lines within gmic_def.NNNN that define \
&quot;Poster Edges&quot;<br> &gt;&gt; &gt; filter and also specifies the types and \
ranges of the input variables.   The<br> &gt;&gt; &gt; gmic_gimp plugin uses those \
definitions to present a user interface.<br> &gt;&gt; &gt; Perhaps &quot;#@gimp&quot; \
lines should change to &quot;#@interface&quot; or something more<br> &gt;&gt; &gt; \
Krita friendly.<br> &gt;&gt;<br>
&gt;&gt; Krita friendly? It&#39;s ok to let it be :)<br>
&gt;&gt;<br>
&gt;&gt; &gt;   - Version Control of Core &quot;DEF&quot; file<br>
&gt;&gt; &gt; If you did split-out just those parts of the gmic_def then you may need \
to<br> &gt;&gt; &gt; maintain your fork<br>
&gt;&gt;<br>
&gt;&gt; I don&#39;t want to fork at all.<br>
&gt;&gt; I&#39;d like to be able to link dynamically against gmic,<br>
&gt;&gt; so that Linux distributions provide always up-to-date<br>
&gt;&gt; gmic.<br>
&gt;&gt;<br>
&gt;&gt; &gt;   - Rewriting 8-bit scripts : TO DO<br>
&gt;&gt; &gt; Since 2.9/2.10 are moving to higher bit depth and deprecating the \
existing<br> &gt;&gt; &gt; plugin interface, it seems likely a GMIC Script GEGL node \
will be made that<br> &gt;&gt; &gt; always requests a 32bit-float RGBA format, in \
which case many GMIC scripts<br> &gt;&gt; &gt; that assume a 0-255 8bit value from \
the current plug-in will need to be<br> &gt;&gt; &gt; amended to cope.<br>
&gt;&gt;<br>
&gt;&gt; It&#39;s little bit confusing with 255.0 values of pixels and this \
options<br> &gt;&gt; and 8-bit encoding.<br>
&gt;&gt;<br>
&gt;&gt; GMIC is using Float32 bit internally but expect that the picture is in \
range<br> &gt;&gt; 0.0 - 255.0 to work nicely with parameters of filters.<br>
&gt;&gt;<br>
&gt;&gt; Krita is representing pixel in Float32 in range 0.0-1.0.<br>
&gt;&gt; So for now I normalize it on input and output.<br>
&gt;&gt; David showed me command in gmic that can do that, no problem.<br>
&gt;&gt;<br>
&gt;&gt; &gt;   - ColourSpace Assumption<br>
&gt;&gt; &gt; As far as I understand values passed from GIMP are for an sRGB \
Colourspace<br> &gt;&gt; &gt; but most of the plugins currently make no adjustment to \
linearise before<br> &gt;&gt; &gt; processing - this is something better curation of \
filters could solve.<br> &gt;&gt;<br>
&gt;&gt; Do we need linear rgb? What would be the real benefits for users?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; There are also some &quot;features&quot; of the Alpha channel handling. \
Most scripts<br> &gt;&gt; &gt; that ignore Alpha will delete the transparency rather \
than retain it.<br> &gt;&gt; &gt; Again, it&#39;s a matter of curation.<br>
&gt;&gt;<br>
&gt;&gt; Uh, good to know this! Thanks!<br>
&gt;&gt;<br>
&gt;&gt; &gt; I&#39;d be interested in a more database driven system to track \
versions of<br> &gt;&gt; &gt; filters and maximise user interaction.   There was \
something in KDE that Boud<br> &gt;&gt; &gt; mentioned at LGM as being worth looking \
at but I am a Windows user myself<br> &gt;&gt; &gt; and have not found it yet.   A \
hosted repository with some kind of upload,<br> &gt;&gt; &gt; search, tagging, \
user-feedback but also version control and regression<br> &gt;&gt; &gt; testing would \
seem desirable in addition to curation metadata about<br> &gt;&gt; &gt; colourspace \
and transparency etc..<br> &gt;&gt;<br>
&gt;&gt; GetHotNewStuff <a rel="nofollow" href="http://ghns.freedesktop.org/" \
target="_blank">http://ghns.freedesktop.org/</a><br> &gt;&gt;<br>
&gt;&gt; Regards,<br>
&gt;&gt; Lukas<br>
&gt;<br>
&gt;<br>
&gt;<br></div></div><div>
&gt; _______________________________________________<br>
&gt; Krita mailing list<br>
&gt; <a rel="nofollow" href="mailto:kimageshop@kde.org" \
target="_blank">kimageshop@kde.org</a><br> &gt; <a rel="nofollow" \
href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> &gt;<br>
</div>
<br>_______________________________________________<br>
Krita mailing list<br>
<a rel="nofollow" href="mailto:kimageshop@kde.org" \
target="_blank">kimageshop@kde.org</a><br> <a rel="nofollow" \
href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> \
<br></blockquote></div><br></div></div></div><br>_______________________________________________<br>Krita \
mailing list<br><a href="mailto:kimageshop@kde.org" \
target="_blank">kimageshop@kde.org</a><br><a \
href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> \
<br><br></div></div></div> </div> </div> </blockquote></div>   \
</div></div><br>_______________________________________________<br> Krita mailing \
list<br> <a href="mailto:kimageshop@kde.org">kimageshop@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> \
<br></blockquote></div><br></div>



_______________________________________________
Krita mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic