It is currently Sat Jul 06, 2024 6:45 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: I'm going to attept to make a GMIC text styling filters
PostPosted: Thu Sep 14, 2023 10:35 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1457
Hello everyone, I just figured out how to install third party GMIC plugins via editing a text file (update325.gmic) for me. Now its time to read GMIC tutorial PDFs I have saved on my computer in hopes of making a GMIC plugin. Let me just say that GMIC has FAR more documentation then GEGL does and sadly I cannot use GEGL and GMIC together in a easy way. So yeah...

I'll update everyone in a few days or weeks if I get anything interesting with GMIC going. So far I am just getting my feet wet in GMIC. No guarantee I will make a GMIC plugin, but I will try, and if successful we'll get some quality test styling plugins in GMIC.

:paint

*note I have been using GMIC for several years now but this is the first time that I actually desire to make plugins for it.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Thu Sep 14, 2023 6:39 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
That's a good idea. If you use an existing filter and put-in your preferred settings you can save it as a filter. It goes in the home folder as ".gmic"
It is a text file. Multiple filters can be listed in this file and they come-up at the bottom of the G'MIC filters list.

There are details on this here.

G'MIC is an entire language but you maybe good at picking it up. (better than me hopefully)


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Thu Sep 14, 2023 7:53 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 794
Location: SEA - South East Asia
G'MIC is also a plugin for Krita, Natron, Toshop, and so on and on... ;)

_________________
Patrice


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Fri Sep 15, 2023 8:26 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1457
Guys, can someone please give me basic code in GMIC that runs hue, saturation and gaussian blur together? I tried

#@gui hughneutron (prerelease): hughneutron_prerelease, hughneutron_prerelease(1)
#@gui : note = note("<b>Beaver Test Filter</b>")
#@gui : Blur = float(60,5,80)
#@gui : Hue Change = float(0,-180,180)
#@gui : Saturation Change = float(0,-1,1)
#@gui : note = note("<small>Author: <i>Beaver</i>.      Latest Update: <i>2023/09/14</i>.</small>")
#@gui : note = note("<small>Beaver Test Filter kk</small>")

hughneutron_prerelease:
   
  memeHue,memeSat, memeLum=$*
 
      l.
         +. $memeBlur c. 10
         +. $memeLum c. 0,1
         +.. $memeSat c.. 0,1
         +... $memeHue %... 360
      done
     
   }


and nothing happens. I have no clue how to chain all these filters together. I can easily do it with GEGL but not GMIC.


Share your GMIC knowledge and I'll share my GEGL knowledge.


If we get lucky I'll make a layer effects engine for GMIC but I don't know how to make a bevel with it and its outline filter can't chain right with other operations. Though I have not have the chance to study GMIC in deep depth like I have with GEGL.


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Sat Sep 16, 2023 8:59 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I believe that until Gegl filters support every call/use of PDB (which plugins and scripts can), the revolution will not be possible.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Sat Sep 16, 2023 10:44 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1457
MareroQ wrote:
I believe that until Gegl filters support every call/use of PDB (which plugins and scripts can), the revolution will not be possible.

I agree and somewhat disagree. Here's why.

Putting GEGL commands in the procedural browser will remove the ability of live preview GEGL Graphs all together. They will load just like any other script fu of today. Step by step.

Right now we already have that one guys (gegl_command.py) plugin that calls gegl:gegl; but it does not allow alt name spaces like gimp: and lb:. For example his gegl_command.py works on my gegl:bevel, but if the name changes to lb:bevel it doesn't work.
He needs to allow alt GEGL name spaces, as Gimp's team has told me to change ALL my plugins to an alt name space.

Also, the GEGL plugins I am making now I consider "second wave" GEGL plugins that are arbitrarily distinct from the GEGL plugins I made in 2022 and even early 2023, as some of them have insanely complex GEGL graphs, with hundreds of nodes and connections that I did not understand how to make into filters back in 2022 or even six-seven months ago. I am single handedly exploring GEGL and it is just a sad thing that others aren't exploring it with me.


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Sun Sep 17, 2023 5:54 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Quote:
Putting GEGL commands in the procedural browser will remove the ability of live preview GEGL Graphs all together.


Misunderstanding - Gegl's acceptance of PDB was quite the opposite.
There are already some Gimp operations.

Image

Do you know where to find a full list of them?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Sun Sep 17, 2023 8:47 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 1457
MareroQ wrote:
Quote:
Putting GEGL commands in the procedural browser will remove the ability of live preview GEGL Graphs all together.


Misunderstanding - Gegl's acceptance of PDB was quite the opposite.
There are already some Gimp operations.

[ Image ]

Do you know where to find a full list of them?


I'm fully aware of those and use them all the time. Those are GEGL operations exclusive to Gimp and that depend on Gimp.

I don't know where they are all listed but I know almost all of them in terms of what they do.


GEGL can't even call Gimp Gradient and Gimp Curves and Gimp Hue Saturation correctly. Its there but it doesn't work


Top
 Post subject: Re: I'm going to attept to make a GMIC text styling filters
PostPosted: Fri Sep 29, 2023 5:29 pm  (#9) 
Offline
GimpChat Member

Joined: Oct 16, 2017
Posts: 41
contrast_ wrote:
Guys, can someone please give me basic code in GMIC that runs hue, saturation and gaussian blur together? I tried

#@gui hughneutron (prerelease): hughneutron_prerelease, hughneutron_prerelease(1)
#@gui : note = note("<b>Beaver Test Filter</b>")
#@gui : Blur = float(60,5,80)
#@gui : Hue Change = float(0,-180,180)
#@gui : Saturation Change = float(0,-1,1)
#@gui : note = note("<small>Author: <i>Beaver</i>.      Latest Update: <i>2023/09/14</i>.</small>")
#@gui : note = note("<small>Beaver Test Filter kk</small>")

hughneutron_prerelease:
   
  memeHue,memeSat, memeLum=$*
 
      l.
         +. $memeBlur c. 10
         +. $memeLum c. 0,1
         +.. $memeSat c.. 0,1
         +... $memeHue %... 360
      done
     
   }


and nothing happens. I have no clue how to chain all these filters together. I can easily do it with GEGL but not GMIC.


Share your GMIC knowledge and I'll share my GEGL knowledge.


If we get lucky I'll make a layer effects engine for GMIC but I don't know how to make a bevel with it and its outline filter can't chain right with other operations. Though I have not have the chance to study GMIC in deep depth like I have with GEGL.


Try this:

#@gui hughneutron (prerelease): hughneutron_prerelease, hughneutron_prerelease(1)
#@gui : note = note("<b>Beaver Test Filter</b>")
#@gui : Blur = float(60,5,80)
#@gui : Hue Change = float(0,-180,180)
#@gui : Saturation Change = float(0,-1,1)
#@gui : note = note("<small>Author: <i>Beaver</i>.      Latest Update: <i>2023/09/14</i>.</small>")
#@gui : note = note("<small>Beaver Test Filter kk</small>")
hughneutron_prerelease:
apply_hue_saturation:=$2||!$3
foreach {
    if inrange(s,3,4,1,1)&&$apply_hue_saturation
        rgb2hsv
        shared[0] 0 +. $2 %. 360
        shared[0] 1 +. $3 cut. 0,1
        rm[-2,-1]
        hsv2rgb
    fi
    blur $1
}


Top
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Please make a python plugin to combine my GEGL filters with GMIC

1

No new posts Attachment(s) GEGL STONE TEXT STYLING FILTER

21

No new posts Attachment(s) GEGL Layer Effects and Text Styling filter

189

No new posts Attachment(s) GEGL Neon Border text styling filter.

15

No new posts Attachment(s) New GEGL Glossy Balloon Text styling filter.

23



* Login  



Powered by phpBB3 © phpBB Group