It is currently Fri Apr 26, 2024 4:33 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Some Samj filters have Disappeared[Solved by Jontait2]
PostPosted: Sat May 23, 2015 9:03 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Several Gmic filters from Testing/Samj have disappeared does anyone know where they went or where they are being shifted to

This has resulted in my script 'Gmic Logos' being faulty and I'm at a loss as to how to fix,
or was it a mistake to use Gmic to create a script in the first place

Gmic Logos Rel2 will be posted soon (this will restore the missing Samj filters) thanks to Jontait2

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Last edited by Graechan on Fri Jun 05, 2015 9:23 pm, edited 2 times in total.

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: Some Samj filters have Disappeared!!!
PostPosted: Sat May 23, 2015 11:50 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
but in a previous post you said "I believe David is doing some changes to 3rd party filters so I'll wait untill he announces these "
I imagine you still have to wait...(the Testing group is the most affected)

_________________
"Where am I ?"


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sat May 23, 2015 11:59 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Yes; forgot about that dinasset. It's possible that they may be located in different subcategories now. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sun May 24, 2015 12:09 am  (#4) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
here is a list of the missing Gmic filters and the 'Gmic Logos' Options affected
Wild Cactus
Image
which used -samj_CeKoaSa_007

Hallucinogenic
Image
which used -samj_Formes_Couleurs_Variees_Dans_Image

Colored Wind
Image
which used -samj_Wind_Quatre_Zones_001

In the Bushes
Image
which used -Remplir_Fleurs_2_samj

Flowers
Image
which used -samj_dessiner_une_fleur

I'm still waiting on David for more information

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sun May 24, 2015 12:25 am  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7715
Location: On the other side of this screen
I have noticed at least one that I thought was missing is in a different place now. Not under testing anymore but has [samj] after it.

_________________


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sun May 24, 2015 12:36 am  (#6) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Sallyanne if it's one of the ones I'm missing which one and where did it go :tyspin

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sun May 24, 2015 1:21 am  (#7) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7715
Location: On the other side of this screen
I cant find the ones you mentioned Graechan but there are about 31 in amongst the different categories.

3 in Arrays and Tiles
6 in Artistic
1 in Black and White
1 in colours
1 in Degradation
2 in patterns
and 18 in Rendering

_________________


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Sun May 24, 2015 12:54 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
I addressed this in another thread: viewtopic.php?f=8&t=12520#p169900

David is currently making changes to how third party scripts and filters will appear in G'MIC. Please stand by for further information from him (or just like me if nobody has said anything in a while).

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Mon May 25, 2015 8:00 pm  (#9) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
patdavid wrote:
I addressed this in another thread: http://gimpchat.com/viewtopic.php?f=8&t=12520#p169900

David is currently making changes to how third party scripts and filters will appear in G'MIC. Please stand by for further information from him (or just like me if nobody has said anything in a while).

It's been a long standby for any information about the filters :hoh
Will the filters return and if so will they be renamed or just reassigned :hoh

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Mon May 25, 2015 8:59 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
You might have to do some hunting Graechan; 1.6.3.1 has now been released so they should be there somewhere. I did PM David (via Flickr) but didn't get a response yet. He's busy; G'MIC is just one of many projects that I'm sure David's working but I'm sure he will address the issue shortly now that 1.6.3.1 has been released. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Mon May 25, 2015 9:32 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Just noticed a few of samj's presets are located in a few different categories depending on what they do. Some are actually located under render by the way. Bet you all of her presets are there; they've apparently been canonized (and being fantastic as they are, they deserved to be). Testing is just that; testing. Some of these presets are over a year old (and some may even be older). Long enough to get from testing phase to finalizing. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Tue May 26, 2015 9:39 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 12, 2012
Posts: 178
Location: Mobile, AL USA
Graechan wrote:
It's been a long standby for any information about the filters :hoh
Will the filters return and if so will they be renamed or just reassigned :hoh


I wouldn't personally have considered one day to be a long standby time... :)

Yes, the filters will return, and they may live in a different location.
In fact, they may still be somewhere in the filter tree (they were just moved to a different location).

Let me explain what's happening...

G'MIC is a powerful program that uses a scripting language to allow some low-level access to things. This means that it has the potential to do Very Bad Things™.

David is (rightfully) concerned that any malicious scripts from third party users could potentially open him up to liability. So by default third party scripts that he himself did not write or approve will need to be manually enabled by end-users, who can do it knowing the risks (same as any person installing software from someone they don't know on the internet).

This is actually a smart move on his part, and is being done in consideration of users safety.

_________________
patdavid.net
Image
PIXLS.US F/OSS Photography


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Tue May 26, 2015 2:16 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Hello there,

I confirm that there may be some changes for some filters location, but actually no removal.
Most of the changes concern filters from samj, and some of them have been moved to Testing/Samj/.
What I did should not break existing scripts using samj's filters, so maybe samj has also do some changes in the filter names, which would explain the issues you have. I cannot say much about these changes by the way.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Tue May 26, 2015 7:54 pm  (#14) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Due to the fact that Samj has cut us of completely there is little I can say or do as well except consider it a lesson and delete the affected options, I assume by your comment that you also no longer have contact with her (this saddens me). :(

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Wed May 27, 2015 1:38 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
I still have contact with her sometimes (and you can do as well, just by writting her an e-mail :o) ).
I'm not really familiar with writing .scm scripts, so I'm not sure I can solve your problem easily. What I can say anyway is that the G'MIC commands whose name start by gimp_ are quite volatile by nature : with the plug-in update mechanism, the chance they are modified (renamed or with new parameters) even between two new versions of the plug-in is high, so this is somehow quite adventurous to use them in .scm scripts :)
What you can do is defining your own G'MIC commands in your .scm script, and call them instead, so you are sure they won't move.
You can even do a copy/paste of the samj's commands if necessary. To define a new G'MIC command in a G'MIC pipeline, use the -command command, like in this G'MIC pipeline :
-command "foo : -blur 10 -mirror c" -foo


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Wed May 27, 2015 7:39 pm  (#16) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Ronounours wrote:
I still have contact with her sometimes (and you can do as well, just by writting her an e-mail :o) ).
I'm not really familiar with writing .scm scripts, so I'm not sure I can solve your problem easily. What I can say anyway is that the G'MIC commands whose name start by gimp_ are quite volatile by nature : with the plug-in update mechanism, the chance they are modified (renamed or with new parameters) even between two new versions of the plug-in is high, so this is somehow quite adventurous to use them in .scm scripts :)
What you can do is defining your own G'MIC commands in your .scm script, and call them instead, so you are sure they won't move.
You can even do a copy/paste of the samj's commands if necessary. To define a new G'MIC command in a G'MIC pipeline, use the -command command, like in this G'MIC pipeline :
-command "foo : -blur 10 -mirror c" -foo

I'm a little unsure of how to do this but I can try

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Wed May 27, 2015 8:24 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I found this code for CeKoaSa_007 in a Gmic 1590 update but I'm not sure how to apply it

#@gimp Cekoasa 007 : samj_CeKoaSa_007, samj_CeKoaSa_007_preview(1)
#@gimp : Sep = separator(), note = note("<span foreground="orangered"><small>Colors / Couleurs</small></span>")
#@gimp : Couleurs / colors = float(1,0.8,1.2)
#@gimp : Sep = separator(), note = note("<span foreground="orangered"><small>Gradient Norm</small></span>")
#@gimp : Douceur / smoothness = float(0,0,10)
#@gimp : Sep = separator(), note = note("<span foreground="orangered"><small>Rodilius</small></span>")
#@gimp : Amplitude = float(10,0,30)
#@gimp : \303\211paisseur / thickness = float(10,0,100)
#@gimp : Nettet\303\251 / sharpness = float(300,0,1000)
#@gimp : Orientations = int(5,2,36)
#@gimp : D\303\251calage / offset = float(30,0,180)
#@gimp : Douceur / smoothness = int(0,0,5)
#@gimp : Sep = separator(), Type Aper\303\247u = choice("Tout","Rendu en bas","Rendu a droite","Rendu en haut","Rendu a gauche")
#@gimp : Sep = separator(), note = note("<small>samj - Derni\303\250re mise \303\240 jour : <i>2014/04/24</i>.</small>")


samj_CeKoaSa_007 :

-repeat @# -l[$>]

Colors_Couleurs=$1
Smoothness_GN=$2
Amplitude_R=$3
Thickness_R=$4
Sharpness_R=$5
Orientations_R=$6
Offset_R=$7
Smoothness_R=$8

-pow[-1] $Colors_Couleurs
-c[-1] 0,255
--gimp_do_nothing[-1]
-gimp_gradient_norm[-1] $Smoothness_GN,0.5,0,100,0
-gimp_rodilius[-1] $Amplitude_R,$Thickness_R,$Sharpness_R,$Orientations_R,$Offset_R,$Smoothness_R,1,0
-blend[-1,-2] grainextract,1,0

-endl -done

samj_CeKoaSa_007_preview :
-gimp_split_preview "-samj_CeKoaSa_007 $*",$-1



#################################################
##                                             ##
##              FIN CeKoaSa_007                ##
##                                             ##
#################################################

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Fri May 29, 2015 7:03 am  (#18) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
@Graechan

Image

I've got the Wild Cactus to work by replacing the existing call:
            (plug-in-gmic 1 image gmic-layer 1
               (string-append
                  "-v - " ; To have a silent output. Remove it to display errors from the G'MIC interpreter on stderr.
                  "-samj_CeKoaSa_007 1.20,0,10,10,300,10,30,0,0")
            )

with this command definition and invocation:
            (plug-in-gmic 1 image gmic-layer 1
               (string-append
                  "-command \"graechan_wildcactus : "
                  "-pow[-1] 1.20 "
                  "-c[-1] 0,255 "
                  "[-1] "                  ; was "--gimp_do_nothing[-1] "
                  "-gimp_gradient_norm[-1] 0,0.5,0,100,0 "
                  "-gimp_rodilius[-1] 10,10,300,10,30,0,1,0,0 "
                  "-blend[-1,-2] grainextract,1,0 "
                  "\" -graechan_wildcactus")            
            )
   )   

The above command is the core sequence from samj's CeKoaSa_007 preset:
-pow[-1] $Colors_Couleurs
-c[-1] 0,255
--gimp_do_nothing[-1]
-gimp_gradient_norm[-1] $Smoothness_GN,0.5,0,100,0
-gimp_rodilius[-1] $Amplitude_R,$Thickness_R,$Sharpness_R,$Orientations_R,$Offset_R,$Smoothness_R,1,0
-blend[-1,-2] grainextract,1,0
but with your parameters substituted in place of the $xxx parameters.

Alternatively, you can do it all in one line like this:
(plug-in-gmic 1 image 0 1 "-command \"graechan_wildcactus : -pow[-1] 1.20 -c[-1] 0,255 [-1] -gimp_gradient_norm[-1] 0,0.5,0,100,0 -gimp_rodilius[-1] 10,10,300,10,30,0,1,0,0 -blend[-1,-2] grainextract,1,0 \" -graechan_wildcactus")

Notes:
- when defining a command, GMIC expects the command to be contained between double quotes, which conflicts with Scheme also using double quotes to delimit string definitions, so you have to "escape" the GMIC command's quotes using backslash like this: \"
- the GMIC dummy procedure gimp_do_nothing no longer exists; it was only being used in this preset to create a new layer copy of the input (active) layer; nowadays, just [-1] will achieve the same result.

The other missing presets are going to be a bit more difficult - they're all rather long with lots of options and you/we need to sort out which bits you do need and then discard the rest.

Attachment:
File comment: Updated copy
Gmic Logos.scm [28.03 KiB]
Downloaded 107 times


Last edited by jontait2 on Fri May 29, 2015 8:18 am, edited 1 time in total.

Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Fri May 29, 2015 8:10 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Very cool answer jontait2, I was not sure how to do this in Scheme.
Thanks a lot !


Top
 Post subject: Re: Some Samj filters have Disappeared!!!
PostPosted: Fri May 29, 2015 2:15 pm  (#20) 
Offline
GimpChat Member
User avatar

Joined: Mar 16, 2015
Posts: 613
Location: On Earth,specifically Queensland,Australia
Thanks Jontait2.Image

_________________
Image


Top
Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) [solved] New filters Gmic with Gimp samj 2.10.23

3

No new posts Attachment(s) Icons disappeared

10

No new posts Attachment(s) Some Icons has disappeared from my tools box

4

No new posts marching ants disappeared

1

No new posts 3rd Toolbox disappeared after download

7



* Login  



Powered by phpBB3 © phpBB Group