Group Since Nov 18, 2009
Drag to set position!
Share
(1 to 100 of 112 replies)
Ronounours
Posted 14 years ago
Hi all.
I would like to present a new interesting feature coming in the next 1.4.9.0 release of the G'MIC plug-in for GIMP. I think particularly that PhotoComiX and Tom Keil will be interested by this one.
The idea is simple : For now on, the mechanism of filter updates through the Internet is very centralized, and controlled by me. The new feature allows users to 'add' other external sources of filter updates, controlled by other people. This is still in an experimental phase, so please be indulgent (and careful!). Although any user can theoretically add any external source into its plug-in version, the mechanism to do that 'manually' is not trivial, so I provided a new filter 'About / Filter sources' that allows users to choose which additional filter source to add. For now on, of course, there are not other additional sources than one testing source, but if this is working well, maybe we can hope that people (hey, PhotoComiX and Tom !) will provide new sources as well.
From the user point of view, here is how it looks like :
Then, 'refreshing' the filter (as before), creates a new entry 'Ronounours' in your filter list :
Of course, you can disable the source afterwards, and the 'Ronounours' folder will be just gone. Isn't it nice ?
From a technical point of view (for those who would like to setup their custom filter sources), this is moreover particularly simple to handle.
What you need, is just to put your 'traditional' .gmic file on a web server, put one header '#@gmic' on the first line, then send me the URL of your file, and I will add the source to the 'About / Filter sources' entry, so that you can be independant of me afterwards.
For instance, the additional 'Ronounours' source is just defined by this text file :
www.greyc.ensicaen.fr/~dtschump/source_dtschump.gmic
Well that's it. I'm compiling versions of the plug-in right now, for Windows and Linux. Feel free to test this new feature, and propose new filter sources if you want to
(PhotoComiX and Tom, I really count on you !).
I would like to present a new interesting feature coming in the next 1.4.9.0 release of the G'MIC plug-in for GIMP. I think particularly that PhotoComiX and Tom Keil will be interested by this one.
The idea is simple : For now on, the mechanism of filter updates through the Internet is very centralized, and controlled by me. The new feature allows users to 'add' other external sources of filter updates, controlled by other people. This is still in an experimental phase, so please be indulgent (and careful!). Although any user can theoretically add any external source into its plug-in version, the mechanism to do that 'manually' is not trivial, so I provided a new filter 'About / Filter sources' that allows users to choose which additional filter source to add. For now on, of course, there are not other additional sources than one testing source, but if this is working well, maybe we can hope that people (hey, PhotoComiX and Tom !) will provide new sources as well.
From the user point of view, here is how it looks like :
Then, 'refreshing' the filter (as before), creates a new entry 'Ronounours' in your filter list :
Of course, you can disable the source afterwards, and the 'Ronounours' folder will be just gone. Isn't it nice ?
From a technical point of view (for those who would like to setup their custom filter sources), this is moreover particularly simple to handle.
What you need, is just to put your 'traditional' .gmic file on a web server, put one header '#@gmic' on the first line, then send me the URL of your file, and I will add the source to the 'About / Filter sources' entry, so that you can be independant of me afterwards.
For instance, the additional 'Ronounours' source is just defined by this text file :
www.greyc.ensicaen.fr/~dtschump/source_dtschump.gmic
Well that's it. I'm compiling versions of the plug-in right now, for Windows and Linux. Feel free to test this new feature, and propose new filter sources if you want to
(PhotoComiX and Tom, I really count on you !).
Ronounours
Posted 14 years ago
Well, no time for binary or Windows tonight, sorry. Will be available tomorrow (maybe the .zip plug-in archive will be available in few hours, depending on how my script performs).
PS i may imagine theorical cases of duplicated entries:
as example i may use as component a filter from another "contibuted" source, so to be sure my will work i would have to include that filter too
BUT i think that in pratice should be a very corner case
(i know for others may be easier to solve, but i feel mine still more similar to Doc Frankstein' s Patchworks then to correct coding:
let take that head,should stick well on that neck, ...ahh... here 2 nice arms to add!...hum.. 2 arms would suffice ?...maybe better 4, you never know!,...here the other 2...)
as example i may use as component a filter from another "contibuted" source, so to be sure my will work i would have to include that filter too
BUT i think that in pratice should be a very corner case
(i know for others may be easier to solve, but i feel mine still more similar to Doc Frankstein' s Patchworks then to correct coding:
let take that head,should stick well on that neck, ...ahh... here 2 nice arms to add!...hum.. 2 arms would suffice ?...maybe better 4, you never know!,...here the other 2...)
Ronounours
Posted 14 years ago
Finally, I've been able to post plug-in binaries and installers for Windows. So do not hesitate to check it out !
sourceforge.net/projects/gmic/files/
sourceforge.net/projects/gmic/files/
Ronounours
Posted 14 years ago
Ok, I've tested on Windows.... It just crashes. :( :(
There is even a regression since we cannot update regular updates no more with the new versions. I'm trying to figure out what is happening there.
There is even a regression since we cannot update regular updates no more with the new versions. I'm trying to figure out what is happening there.
I posted this error, in my post about faves. Now I see that you are already aware of the problem. I also tried doing a manual download of .gmic_def.xxxx and saved it as .gmic_def.1490, but that isn't seen by G'MIC.
Ronounours
Posted 14 years ago
Finally, I've figured out where the bug was hidden, and I'm happy to say it has been corrected. I will post new binaries soon.
Ronounours
Posted 14 years ago
OK, So the new binaries are available for Windows and Linux, this time it should be stable enough to be of use.
Any feedback is appreciated.
Any feedback is appreciated.
i like the warning...maybe we could add some terrostistic details as PhotoComix filters may fry your CPU ?
Just kidding, looks cool i'm going to try the new build
A bit offtopic but no so much ;
quality control and suggestions to improve and optimizeare are always very appreciated also for...hu...third party gmic filters !
Just kidding, looks cool i'm going to try the new build
A bit offtopic but no so much ;
quality control and suggestions to improve and optimizeare are always very appreciated also for...hu...third party gmic filters !
Ronounours
Posted 14 years ago
Maybe you are just kidding, but yet, adding an additional filter source means you accept the fact that you can run scripts (G'MIC scripts here) done by others on your computer. Even if G'MIC is intended primarily to do image processing things, there are plenty of ways you can do nasty things using the G'MIC language (I won't tell how to do it, but it is not very hard to find).
Of course, you can probably trust the different sources I will add in the 'Adding sources' filter, but still, I don't want to engage my responsability in using external filter sources, hence the message.
Of course, you can probably trust the different sources I will add in the 'Adding sources' filter, but still, I don't want to engage my responsability in using external filter sources, hence the message.
Mahvin
Posted 14 years ago
David: Have you looked over the Stamp filter and considered adding it to the latest G'MIC update?
Ronounours
Posted 14 years ago
Well, I've added it. But there are quite strange things I don't understand in the code, so maybe you could explain them to me ?
- Why the first argument $1 is at the same time used in the threshold argument (so, it measures a percentage of thresholding), as well as the argument of the '-repeat' command after ? I don't see the point.
- Same for argument $3 (sharpening), it is used in a '-blur' command at the end, isn't it a bit strange ? To be honest, I don't understand the last line at all :
- Why the first argument $1 is at the same time used in the threshold argument (so, it measures a percentage of thresholding), as well as the argument of the '-repeat' command after ? I don't see the point.
- Same for argument $3 (sharpening), it is used in a '-blur' command at the end, isn't it a bit strange ? To be honest, I don't understand the last line at all :
-apply_channels "-repeat $1 -blur $3 -unsharp $3,$2 -c 0,255 -mv[-1] 0 -done",$4,0
Ronounours
Posted 14 years ago
Maybe for this kind of experiments (interesting filters, but perhaps not "finalized" enough), the concept of 'additional sources' I've just added is a nice way to propose your own filters that can be improved over time.
lylejk
Posted 14 years ago
Hey David. I did indeed update to th 1.4.9 version and now my .gmic presets don't show up (that includes Stamp; maybe more tweaks would be cool, but still a cool preset). :)
PhotoComiX
Posted 14 years ago
No pun was intended, and is truth that not only macro written with malicious intent but simply a wrong default may create some problem
A example with the mirror arrray filter i am playing with just now:
if the preview is switched on a default as mirror 2XY , iteration 10 and expand option on true, would at least frozen the computer for a little while and then crash gmic (i believe only gmic)
but if a similar command was somehow executed..huuumm...
A example with the mirror arrray filter i am playing with just now:
if the preview is switched on a default as mirror 2XY , iteration 10 and expand option on true, would at least frozen the computer for a little while and then crash gmic (i believe only gmic)
but if a similar command was somehow executed..huuumm...
Mahvin
Posted 14 years ago
David:
I explained that this was my attempt to add smoothness, sharpness, sliders, etc. I know it's not accurate. I don't understand the channel properties myself, never claimed I did. I was merely pointing out my interest for sliders to adjust the stamp filter. I copy/pasted some sliders from another filter, etc. (I actually tried to implement Lyle's preset into the stamp filter, if that makes any sense).
I explained that this was my attempt to add smoothness, sharpness, sliders, etc. I know it's not accurate. I don't understand the channel properties myself, never claimed I did. I was merely pointing out my interest for sliders to adjust the stamp filter. I copy/pasted some sliders from another filter, etc. (I actually tried to implement Lyle's preset into the stamp filter, if that makes any sense).
Ronounours
Posted 14 years ago
OK, I understand. So maybe I will try to do some adjustments if you allow me to. :) I'll let you know about my changes if any.
Thanks again for your efforts Mahvin.
Thanks again for your efforts Mahvin.
lylejk
Posted 14 years ago
Look forward to those tweaks David. Faves and all defaults worked; just not my .gmic file stuff. Went back to the previous version and all's well for now. :)
Ronounours
Posted 14 years ago
ell, why your '.gmic' file isn't working ? I'm interested by the problem actually. Do you have more to say about it ? :)
For the stamp filter, I reduced the code like this, I suppose this is the effect that was expected by the original poster :
For the stamp filter, I reduced the code like this, I suppose this is the effect that was expected by the original poster :
#@gimp B&W stamp : gimp_stamp, gimp_stamp_preview(0)
#@gimp : Threshold = int(50,0,100)
#@gimp : Smoothness = float(0,0,10)
#@gimp : Sharpening = float(0,0,30)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator(), note = note("Author : Antaron, Mahvin. Latest update : 2011/03/26.")
gimp_stamp :
-norm -t $1% -blur $2,0 -sharpen $3 -n 0,255
-apply_curve 1,0,0,101,33,170,229,255,255
-to_rgb
gimp_stamp_preview :
-gimp_split_preview "-gimp_stamp ${1--2}",$-1
lylejk
Posted 14 years ago
Not sure why David; just going to live G'MIC as is for now. Going to play with you code soon. We've had some fun at GIMPChat with Mahvin's hack the last few days. :)
lylejk
Posted 14 years ago
Don't see it in GIMP G'MIC interface; must be cmn line only. Will see if I can merge it into what Mahvin did or not. :)
karo03
Posted 14 years ago
Hi Lyle, I found my .gmic stuff in the new way at alphabetic sorted position and not anymore at the beginning!
#@gimp _User custom filters
What is the folder name you used?
#@gimp _User custom filters
What is the folder name you used?
Mahvin
Posted 14 years ago
I find it interesting, that even though I had the slightest clue as to what I was doing, the result was fairly interesting. I appreciate your fixing the Stamp filter and adding it to the Artistic section. Much appreciated.
Lyle, did you check under Artistic - B/W Stamp?
Lyle, did you check under Artistic - B/W Stamp?
Ronounours
Posted 14 years ago
Yes I forgot to mention that, but now, the first level folders are alphabetically sorted, automatically.
lylejk
Posted 14 years ago
Ah; didn't even check for that. lol
Going to try again; your stamp update too. :)
Going to try again; your stamp update too. :)
lylejk
Posted 14 years ago
OK; tried to overwrite the files for gmic and now I get this error. I even removed the .gmic file to see if that was the cause; it is not. Not sure why I get this. I had 1.4.9 working before but now it refuses too. I restarted GIMP of course; did not restart PC yet (can but don't see why I have too; have to shut down all virtual apps before doing so and my later, but when I went back to 1.4.8.3, all was well). :)
[https://www.flickr.com/photos/34520999@N05/5574784885/]
[https://www.flickr.com/photos/34520999@N05/5574784885/]
lylejk
Posted 14 years ago
OK; just rebooted the PC; still an issue. When I first downloaded 1.4.9, it was yesterday. I noticed the you updated it a few hours ago (I had already deleted the zip from yesterday) and used those files. Maybe the bug is with the updated Windows compile. Just don't know. Going back to 1.4.8.3 for now. :)
lylejk
Posted 14 years ago
Just noticed that yesterdays 1.4.9 was still there, so re-downloaded it and it works. I know the new version worked too before trying to re-install it, so maybe needed something from yesterday's 1.4.9 build before the new version would work, so I reinstalled the 1.4.9 that you released earlier today and voila; it now works. Weird stuff. As a side note, your version of Stamp does not work inside the GIMP gui (haven't tried it as a cmd line version). Mahvin's version still works. And you are right Karo; it is in alphabetical order now. lol
:)
:)
lylejk
Posted 14 years ago
Sorry for all the edits, but just noticed now that stamp is indeed in the Artistic menu; thanks David. Happy I am now. :)
PhotoComiX
Posted 14 years ago
Lylejk ,just in case you wish for any reason have 2 versions of the plugin, that is very easy.
You just need to place each in a different folder,and from gimp preferences
set the path for what you want use at that moment (well, few moments later because gimp has to be reloaded for the change to make effect )
You just need to place each in a different folder,and from gimp preferences
set the path for what you want use at that moment (well, few moments later because gimp has to be reloaded for the change to make effect )
David to clear my point i like the change,and as for my feeling i am even flattered to be considered as a source
Only since i have no any experience on writing any kind of codes i hope you will not hesitate to criticize or propose changes to whatever i do,,just because they will appear as contribution from a external source.
PS
same for who here has much more experience and knolwledge then me on the argument.:
your feedback even if very critic is always highly appreciated as any suggestion
Only since i have no any experience on writing any kind of codes i hope you will not hesitate to criticize or propose changes to whatever i do,,just because they will appear as contribution from a external source.
PS
same for who here has much more experience and knolwledge then me on the argument.:
your feedback even if very critic is always highly appreciated as any suggestion
I tried the 32 bit debian for 1.4.9.0. and it threw an error about the image being wrong.
Error: [instance(0,0,0,0,(nil),shared)] CImg::assign() : Invalid assignement request of shared instance from specified image (1,29,1,1).
Error: [instance(0,0,0,0,(nil),shared)] CImg::assign() : Invalid assignement request of shared instance from specified image (1,29,1,1).
On Win 7 - 64bit, I used to have over 400 filters after doing an internet refresh. It would jump from just over 200 filters to somewhere over 400. Now it only goes up from 262 to 263. It's actually less than that when you don't count all the faves that show up but don't work :(
@Lyle - You have Stamp in Artistic? Not me.
Plus mine are not in alphabetical order. More Win7 Baloney!!
Plus mine are not in alphabetical order. More Win7 Baloney!!
lylejk
Posted 14 years ago
It's actually called B&W Stamp PM; try refreshing again. Mine currently is only 251 presets. Not sure if it's somehow related to Davids multi-host preset thingy. Doesn't appear that I'm missing any preset that I need. :)
karo03
Posted 14 years ago
The number of filters is now more reliable!
I think formerly they were counted twice, from the initialization to the original settings!
I think formerly they were counted twice, from the initialization to the original settings!
Ronounours
Posted 14 years ago
Exactly, Karo you are absolutely right.
There has always been less than 250 filters, but when doing an update, the counter was displaying the double, because all 'Initial' filters were still available with the updated ones. Now, when an update is found, the initial default filters are just discarded (of course, you can reset the filters to their initial state, just by removing the '.gmic_def.xxxx' file).
I admit I've done quite dramatic changes in the way the filter updates are managed. This is also why there might be some problems remaining. Please apologize for any inconvenience due to these new changes (but I believe we have a lot to gain from having more filter sources in the future).
There has always been less than 250 filters, but when doing an update, the counter was displaying the double, because all 'Initial' filters were still available with the updated ones. Now, when an update is found, the initial default filters are just discarded (of course, you can reset the filters to their initial state, just by removing the '.gmic_def.xxxx' file).
I admit I've done quite dramatic changes in the way the filter updates are managed. This is also why there might be some problems remaining. Please apologize for any inconvenience due to these new changes (but I believe we have a lot to gain from having more filter sources in the future).
Ronounours
Posted 14 years ago
OK, I've been able to reproduce the bug :
[CImg] *** CImgArgumentException *** [instance(0,0,0,0,(nil),shared)] CImg::assign() : Invalid assignement request of shared instance from specified image (1,29,1,1).
it occurs on 64-bits platform. I'm working on a fix.
[CImg] *** CImgArgumentException *** [instance(0,0,0,0,(nil),shared)] CImg::assign() : Invalid assignement request of shared instance from specified image (1,29,1,1).
it occurs on 64-bits platform. I'm working on a fix.
Ronounours
Posted 14 years ago
OK I found the bug and a fix. I'm building new binaries right now, should be available in about 30 mn.
Ronounours
Posted 14 years ago
OK, finally I've posted new files for Windows and Linux.
Feel free to update. Up to now, I haven't see any problems both on Win32, Linux32 and Linux64 versions.
sourceforge.net/projects/gmic/files/
Feel free to update. Up to now, I haven't see any problems both on Win32, Linux32 and Linux64 versions.
sourceforge.net/projects/gmic/files/
lylejk
Posted 14 years ago
Havent' tried the update yet David. I do have a 64-bit OS, but I am using 32-bit GIMP (due to lack of GIMP plugins for 64-bit GIMP mainly). Still, I'll give your new version a try when I get back (even though now, 1.4.9 is working for me again). :)
Ronounours
Posted 14 years ago
Well, that sounds weird. At least one of the three item should be marked as 'non recognized'... I really wondering what is happening then.
Anyway, thanks for the screenshot, it will help a lot to chase the bug.
Anyway, thanks for the screenshot, it will help a lot to chase the bug.
Ronounours
Posted 14 years ago
@PhotoMasterGreg : could you post then your entire .gmic file, to see what is happening ?
Thanks a lot for your help.
Thanks a lot for your help.
Ronounours
Posted 14 years ago
Haa yes, I suspect that in your .gmic file, the definition of 'Graphic Novel FX' is not using commands 'gimp_photocomix_booost2' and 'gimp_photocomix_booost2'. Is that right ?
These are some of the entries that I added to my faves file. I haven't started learning the G'MIC coding yet, but I will now!
{GN- Vaiolo}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{7.89474}{6}{5}{20}{0.738462}{14}{0}{0.58}{0.54}{3.59649}{6}{1}{1}{0.5}{0.894737}{4.47368}
{GN- CHIAROSCURO}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{4.36364}{10.4727}{5}{20}{0.12}{14}{0}{0.54}{2.9}{9}{0}{0.93}{1}{0.5}{0.54}{0.78}
{Graphic Novel Greysh Tint}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.95455}{1}{0.609091}{1}{0.5}{0.54}{0.78}
{GN- Vaiolo}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{7.89474}{6}{5}{20}{0.738462}{14}{0}{0.58}{0.54}{3.59649}{6}{1}{1}{0.5}{0.894737}{4.47368}
{GN- CHIAROSCURO}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{4.36364}{10.4727}{5}{20}{0.12}{14}{0}{0.54}{2.9}{9}{0}{0.93}{1}{0.5}{0.54}{0.78}
{Graphic Novel Greysh Tint}{Graphic Novel FX}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.95455}{1}{0.609091}{1}{0.5}{0.54}{0.78}
lylejk
Posted 14 years ago
Just wanted to let you know David that the latest updated worked without incident. Just curious as to when you are going to make 1.4.9 official? Do like the new interface now that I'm getting use to it. Like the idea of loading multi-database presets too. :)
Ronounours
Posted 14 years ago
@Lylejk : I have still some code adjustments to do before the final release, mainly with the new 'filter sources' feature.
If everything goes right, I suppose I will release the 1.4.9.0 final on next week.
@PhotoMasterGreg : I would like to see the content of your '.gmic' file, not your '.gmic_faves' one :) Probably, there is something wrong in your '.gmic' file, just want to check, and maybe to fix it so your presets will be back again.
If everything goes right, I suppose I will release the 1.4.9.0 final on next week.
@PhotoMasterGreg : I would like to see the content of your '.gmic' file, not your '.gmic_faves' one :) Probably, there is something wrong in your '.gmic' file, just want to check, and maybe to fix it so your presets will be back again.
Here it is.
#@gimp Fourier picture watermark : gimp_fourier_picture_watermark, _none_
#@gimp : relative size = float(0.2,0.1,0.5)
#@gimp : sep = separator()
#@gimp : note = note("Note : To make the watermark visible afterwards, use the 'Fourier Analysis' filter. ")
gimp_fourier_picture_watermark :
-resize_ratio2d[0] {@{1,w}*$1},{@{1,h}*$1} -to_gray[0] -threshold[0] 127
-watermark_fourier2 -c 0,255
#@gmic watermark_fourier2 :
watermark_fourier2 :
-fft[-1] -shift[-2,-1] 50%,50%,0,0,2
[0],[0],1,{s}
-image[-3,-2] [-1],3,3,0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},3,0,0,1,[0]
-mirror[0] y
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],3,{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] y
-rm[-1] -shift[-2,-1] -50%,-50%,0,0,2 -ifft[-2,-1] -rm[-1]
-mv[-1] 1
-rm[0]
######################################################
#@gimp Graphic Novel Fx : gimp_photocomix_booost2, gimp_photocomix_booost2(0)
#@gimp : sep = separator ()
#@gimp : note = note("Apply Local Normalization")
#@gimp : SKIP this step = bool(false)
#@gimp : note = note ("Check the box will disable the 4 sliders below")
#@gimp : sep = separator ()
#@gimp : note = note(" Local Normalization Controls")
#@gimp : LN Amplititude = float(2,0,60)
#@gimp : LN Size = float(6,0,64)
#@gimp : LN Neightborhood-Smoothness = float(5,0,40)
#@gimp : LN Average-Smoothness = float(20,0,40)
#@gimp : sep = separator ()
#@gimp : sep = separator ()
#@gimp : note = note(" Pencil Options")
#@gimp : Pencil Size = float(0.12,0,4)
#@gimp : Pencil Amplitude = float(14,0,200)
#@gimp : sep = separator ()
#@gimp : note = note(" Do you wish to smooth the pencil effect ?")
#@gimp : Activate "Pencil Smoother" = bool(false)
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Pencil Smoother Sharpness = float(0.5,0,2)
#@gimp : Pencil Smoother Edge Protection = float(0.54,0,1)
#@gimp : Pencil Smoother Smoothness = float(1.12,0,10)
#@gimp : sep = separator ()
#@gimp : note = note ("Boost Merging Options")
#@gimp : BOOST Merging Option = choice (Overlay , Multiply, Soft light,Color Burn,Darken,Stamp,Hard Light,Value ,Freeze)
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator ()
#@gimp : Add Painter's Touch = bool()
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Painter's Touch Sharpness = float(0.5,0,2)
#@gimp : Painter's Edge Protection Flow = float(0.54,0,1)
#@gimp : Painter's Smoothness =float(0.78,0,10)
#@gimp : sep = separator(), note = note("Author : PhotoComiX. Last update : 2011/1/6.")
#@gimp : note = link("Filter explained here","http://www.gimpchat.com/viewtopic.php?f=9&t=775")
gimp_photocomix_booost2 :
-repeat @# -l[$>] -split_opacity -l[0]
-if {$1==0} -gimp_normalize_local $2,$3,$4,$5,1,3,0 -elif {$1==1} -gimp_do_nothing -endif
--gimp_pencilbw $6,$7,0,0,0
-if {$8==0} -gimp_do_nothing[1] -elif {$8==1} -gimp_anisotropic_smoothing[-1] 60,$9,$10,$11,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-if {$12==0} -gimp_compose_overlay[1,0] $13
-elif {$12==1} -gimp_compose_multiply[1,0] $13
-elif {$12==2} -gimp_compose_softlight[1,0] $13
-elif {$12==3} -gimp_compose_colorburn[1,0] $13
-elif {$12==4} -gimp_compose_darken[1,0] $13
-elif {$12==5} -gimp_compose_stamp[1,0] $13
-elif {$12==6} -gimp_compose_hardlight[1,0] $13
-elif {$12==7} -reverse[1,0] -gimp_compose_value[1,0] $13
-elif {$12==8} -gimp_compose_freeze[1,0] $13 -endif
-if {$14==0} -gimp_do_nothing -elif {$14==1} -gimp_anisotropic_smoothing 60,$15,$16,$17,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-endl -a c -endl -done
################################################################################
#######################################################
#@gimp Stained Glass 2 : gimp_stained_glass2a, gimp_stained_glass2a_preview(0)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Merge = choice( "Color Burn ","Grain Merge","Hard Light","Soft Light","Overlay","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator(), note = note("Author : David Tschumperlé. Latest update : 2011/03/18.")
gimp_stained_glass2a :
-repeat @# -l[$>] -split_opacity -l[0]
-blur 0.1 -stained_glass $1,$2,$3
-n 0,255
-if $4 -equalize[-1] 256 -endif
-if {$5==0} --blur 0.9 -gimp_compose_colorburn $6
-elif {$5==1} --blur 0.9 -gimp_compose_grainmerge $6
-elif {$5==2} --blur 0.9 -gimp_compose_hardlight $6
-elif {$5==3} --blur 0.9 -gimp_compose_softlight $6
-elif {$5==4} --blur 0.9 -gimp_compose_overlay $6
-elif {$5==5} --blur 0.9 -gimp_compose_multiply $6
-elif {$5==6} -gimp_do_nothing -endif
-blur 0.4
-endl -append c -endl -done
gimp_stained_glass2a_preview :
-gimp_split_preview "-gimp_stained_glass2a ${1--2}",$-1
###################################################
################ STAMP START ########################
#@gimp Stamp : my_third_filter, my_third_filter
#@gimp : note = note("Creates a stamp effect with strength 0-30 and blur 1-5")
#@gimp : Amplitude = int(2,0,50)
#@gimp : Smoothness = float(.1,0,10)
#@gimp : Sharpening = float(.1,0,10))
#@gimp : Channel(s) = choice("All","RGBA","RGB","Luminance","Blue/red chrominances","Blue chrominance","Red chrominance","Lightness","ab-components","a-component","b-component","Hue","Saturation","Value","Key","Alpha","ch-components","c-component","h-component")
#@gimp : sep = separator(), note = note("Author : antaron, David Tschumperlé. Latest update : 2011/03/26.")
my_third_filter :
-skip ${1=0},${2=3}
-norm
-t {50+$1}%
-to_rgb
-blur $2,0
-n 0,255
-apply_curve 1,0,0,101,33,170,229,255,255
-apply_channels "-repeat $1 -blur $3 -unsharp $3,$2 -c 0,255 -mv[-1] 0 -done",$4,0
################ STAMP END ##########################
###################################################################################################
#@gimp Psychedelic Glasswork Tiler : gimp_psy_glass, gimp_psy_glass_preview
#@gimp : sep = separator()
#@gimp : note = note("Stained Glass Controls")
#@gimp : sep = separator()
#@gimp : White separators = bool(false)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Quick Corrections and Special Fx")
#@gimp : Apply Mask = bool(true)
#@gimp : note = note(" Contrast Mask preset")
#@gimp : sep = separator()
#@gimp : Raise Local Contrast = bool(false)
#@gimp : note = note("Local Normalization preset")
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Mirrors Controls")
#@gimp : Activate Mirrors = bool(true)
#@gimp : sep = separator()
#@gimp : Iterations = int(1,1,10)
#@gimp : X-offset = float(0,0,100)
#@gimp : Y-offset = float(0,0,100)
#@gimp : Array mode = choice(2,"X-axis","Y-axis","XY-axes","2XY-axes")
#@gimp : Initialization = choice("Original","Mirror X","Mirror Y","Rotate 90 deg.","Rotate 180 deg.","Rotate 270 deg.")
#@gimp : Expand size = _bool(false)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator()
#@gimp : sep = separator(), note = note("Author : PhotoComix;. Latest update : 2011/03/30.")
gimp_psy_glass :
-repeat @# -l[$>]
-if {$1==0} -blur 0.1 -stained_glass $2,$3,$4
-n 0,255
-elif {$1==1} -negative
-blur 0.1 -stained_glass $2,$3,$4
-n 0,255 -negative -endif
-if $5 -equalize[-1] 256 -endif
-if {$6==0} --blur 0.9 -gimp_compose_grainmerge $7
-elif {$6==1} --blur 0.9 -gimp_compose_hardlight $7
-elif {$6==2} --blur 0.9 -gimp_compose_softlight $7
-elif {$6==3} --blur 0.9 -gimp_compose_overlay $7
-elif {$6==4} --blur 0.9 -gimp_compose_colorburn $7
-elif {$6==5} --blur 0.9 -gimp_compose_multiply $7
-elif {$6==6} -gimp_do_nothing -endif
-if {$8==0} -gimp_do_nothing
-elif {$8==1} -gimp_contrast_swm 2,0,1,0 -endif
-if {$9==0} -gimp_do_nothing
-elif {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if {$10==0} -gimp_do_nothing -return -endif
-if {$15==1} -mirror x
-elif {$15==2} -mirror y
-elif {$15==3} -rotate 90
-elif {$15==4} -rotate 180
-elif {$15==5} -rotate 270
-endif
-array_mirror $11,$14,$16
-shift -$12%,-$13%,0,0,2
-endl -done
gimp_psy_glass_preview :
-gimp_split_preview " -gimp_psy_glass ${1--2}",$-1
#############################################
#@gimp Fourier picture watermark : gimp_fourier_picture_watermark, _none_
#@gimp : relative size = float(0.2,0.1,0.5)
#@gimp : sep = separator()
#@gimp : note = note("Note : To make the watermark visible afterwards, use the 'Fourier Analysis' filter. ")
gimp_fourier_picture_watermark :
-resize_ratio2d[0] {@{1,w}*$1},{@{1,h}*$1} -to_gray[0] -threshold[0] 127
-watermark_fourier2 -c 0,255
#@gmic watermark_fourier2 :
watermark_fourier2 :
-fft[-1] -shift[-2,-1] 50%,50%,0,0,2
[0],[0],1,{s}
-image[-3,-2] [-1],3,3,0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},3,0,0,1,[0]
-mirror[0] y
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],3,{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] y
-rm[-1] -shift[-2,-1] -50%,-50%,0,0,2 -ifft[-2,-1] -rm[-1]
-mv[-1] 1
-rm[0]
######################################################
#@gimp Graphic Novel Fx : gimp_photocomix_booost2, gimp_photocomix_booost2(0)
#@gimp : sep = separator ()
#@gimp : note = note("Apply Local Normalization")
#@gimp : SKIP this step = bool(false)
#@gimp : note = note ("Check the box will disable the 4 sliders below")
#@gimp : sep = separator ()
#@gimp : note = note(" Local Normalization Controls")
#@gimp : LN Amplititude = float(2,0,60)
#@gimp : LN Size = float(6,0,64)
#@gimp : LN Neightborhood-Smoothness = float(5,0,40)
#@gimp : LN Average-Smoothness = float(20,0,40)
#@gimp : sep = separator ()
#@gimp : sep = separator ()
#@gimp : note = note(" Pencil Options")
#@gimp : Pencil Size = float(0.12,0,4)
#@gimp : Pencil Amplitude = float(14,0,200)
#@gimp : sep = separator ()
#@gimp : note = note(" Do you wish to smooth the pencil effect ?")
#@gimp : Activate "Pencil Smoother" = bool(false)
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Pencil Smoother Sharpness = float(0.5,0,2)
#@gimp : Pencil Smoother Edge Protection = float(0.54,0,1)
#@gimp : Pencil Smoother Smoothness = float(1.12,0,10)
#@gimp : sep = separator ()
#@gimp : note = note ("Boost Merging Options")
#@gimp : BOOST Merging Option = choice (Overlay , Multiply, Soft light,Color Burn,Darken,Stamp,Hard Light,Value ,Freeze)
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator ()
#@gimp : Add Painter's Touch = bool()
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Painter's Touch Sharpness = float(0.5,0,2)
#@gimp : Painter's Edge Protection Flow = float(0.54,0,1)
#@gimp : Painter's Smoothness =float(0.78,0,10)
#@gimp : sep = separator(), note = note("Author : PhotoComiX. Last update : 2011/1/6.")
#@gimp : note = link("Filter explained here","http://www.gimpchat.com/viewtopic.php?f=9&t=775")
gimp_photocomix_booost2 :
-repeat @# -l[$>] -split_opacity -l[0]
-if {$1==0} -gimp_normalize_local $2,$3,$4,$5,1,3,0 -elif {$1==1} -gimp_do_nothing -endif
--gimp_pencilbw $6,$7,0,0,0
-if {$8==0} -gimp_do_nothing[1] -elif {$8==1} -gimp_anisotropic_smoothing[-1] 60,$9,$10,$11,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-if {$12==0} -gimp_compose_overlay[1,0] $13
-elif {$12==1} -gimp_compose_multiply[1,0] $13
-elif {$12==2} -gimp_compose_softlight[1,0] $13
-elif {$12==3} -gimp_compose_colorburn[1,0] $13
-elif {$12==4} -gimp_compose_darken[1,0] $13
-elif {$12==5} -gimp_compose_stamp[1,0] $13
-elif {$12==6} -gimp_compose_hardlight[1,0] $13
-elif {$12==7} -reverse[1,0] -gimp_compose_value[1,0] $13
-elif {$12==8} -gimp_compose_freeze[1,0] $13 -endif
-if {$14==0} -gimp_do_nothing -elif {$14==1} -gimp_anisotropic_smoothing 60,$15,$16,$17,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-endl -a c -endl -done
################################################################################
#######################################################
#@gimp Stained Glass 2 : gimp_stained_glass2a, gimp_stained_glass2a_preview(0)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Merge = choice( "Color Burn ","Grain Merge","Hard Light","Soft Light","Overlay","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator(), note = note("Author : David Tschumperlé. Latest update : 2011/03/18.")
gimp_stained_glass2a :
-repeat @# -l[$>] -split_opacity -l[0]
-blur 0.1 -stained_glass $1,$2,$3
-n 0,255
-if $4 -equalize[-1] 256 -endif
-if {$5==0} --blur 0.9 -gimp_compose_colorburn $6
-elif {$5==1} --blur 0.9 -gimp_compose_grainmerge $6
-elif {$5==2} --blur 0.9 -gimp_compose_hardlight $6
-elif {$5==3} --blur 0.9 -gimp_compose_softlight $6
-elif {$5==4} --blur 0.9 -gimp_compose_overlay $6
-elif {$5==5} --blur 0.9 -gimp_compose_multiply $6
-elif {$5==6} -gimp_do_nothing -endif
-blur 0.4
-endl -append c -endl -done
gimp_stained_glass2a_preview :
-gimp_split_preview "-gimp_stained_glass2a ${1--2}",$-1
###################################################
################ STAMP START ########################
#@gimp Stamp : my_third_filter, my_third_filter
#@gimp : note = note("Creates a stamp effect with strength 0-30 and blur 1-5")
#@gimp : Amplitude = int(2,0,50)
#@gimp : Smoothness = float(.1,0,10)
#@gimp : Sharpening = float(.1,0,10))
#@gimp : Channel(s) = choice("All","RGBA","RGB","Luminance","Blue/red chrominances","Blue chrominance","Red chrominance","Lightness","ab-components","a-component","b-component","Hue","Saturation","Value","Key","Alpha","ch-components","c-component","h-component")
#@gimp : sep = separator(), note = note("Author : antaron, David Tschumperlé. Latest update : 2011/03/26.")
my_third_filter :
-skip ${1=0},${2=3}
-norm
-t {50+$1}%
-to_rgb
-blur $2,0
-n 0,255
-apply_curve 1,0,0,101,33,170,229,255,255
-apply_channels "-repeat $1 -blur $3 -unsharp $3,$2 -c 0,255 -mv[-1] 0 -done",$4,0
################ STAMP END ##########################
###################################################################################################
#@gimp Psychedelic Glasswork Tiler : gimp_psy_glass, gimp_psy_glass_preview
#@gimp : sep = separator()
#@gimp : note = note("Stained Glass Controls")
#@gimp : sep = separator()
#@gimp : White separators = bool(false)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Quick Corrections and Special Fx")
#@gimp : Apply Mask = bool(true)
#@gimp : note = note(" Contrast Mask preset")
#@gimp : sep = separator()
#@gimp : Raise Local Contrast = bool(false)
#@gimp : note = note("Local Normalization preset")
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Mirrors Controls")
#@gimp : Activate Mirrors = bool(true)
#@gimp : sep = separator()
#@gimp : Iterations = int(1,1,10)
#@gimp : X-offset = float(0,0,100)
#@gimp : Y-offset = float(0,0,100)
#@gimp : Array mode = choice(2,"X-axis","Y-axis","XY-axes","2XY-axes")
#@gimp : Initialization = choice("Original","Mirror X","Mirror Y","Rotate 90 deg.","Rotate 180 deg.","Rotate 270 deg.")
#@gimp : Expand size = _bool(false)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator()
#@gimp : sep = separator(), note = note("Author : PhotoComix;. Latest update : 2011/03/30.")
gimp_psy_glass :
-repeat @# -l[$>]
-if {$1==0} -blur 0.1 -stained_glass $2,$3,$4
-n 0,255
-elif {$1==1} -negative
-blur 0.1 -stained_glass $2,$3,$4
-n 0,255 -negative -endif
-if $5 -equalize[-1] 256 -endif
-if {$6==0} --blur 0.9 -gimp_compose_grainmerge $7
-elif {$6==1} --blur 0.9 -gimp_compose_hardlight $7
-elif {$6==2} --blur 0.9 -gimp_compose_softlight $7
-elif {$6==3} --blur 0.9 -gimp_compose_overlay $7
-elif {$6==4} --blur 0.9 -gimp_compose_colorburn $7
-elif {$6==5} --blur 0.9 -gimp_compose_multiply $7
-elif {$6==6} -gimp_do_nothing -endif
-if {$8==0} -gimp_do_nothing
-elif {$8==1} -gimp_contrast_swm 2,0,1,0 -endif
-if {$9==0} -gimp_do_nothing
-elif {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if {$10==0} -gimp_do_nothing -return -endif
-if {$15==1} -mirror x
-elif {$15==2} -mirror y
-elif {$15==3} -rotate 90
-elif {$15==4} -rotate 180
-elif {$15==5} -rotate 270
-endif
-array_mirror $11,$14,$16
-shift -$12%,-$13%,0,0,2
-endl -done
gimp_psy_glass_preview :
-gimp_split_preview " -gimp_psy_glass ${1--2}",$-1
#############################################
Ronounours
Posted 14 years ago
Thanks, I've been able to reproduce the bug. I will correct it probably today. Thanks a lot for your help.
Ronounours
Posted 14 years ago
OK, so there were two bugs, on from my side, one from your side :)
1. From my side : There was only a very small bug concerning the display of the error message. So, it was displaying that all commands are recognized but it was displaying it wrong. I've been able to correct the bug (so thanks, for pointing me this out !).
2. In your '.gmic_faves' file, you reference entries named 'Graphic Novel FX', but this entry does not exist in your '.gmic' file. An entry with 'Graphic Novel Fx' exists on the contrary (not with a capital x!). So you need to correct that in your .gmic_faves :
.. and this is working again (at least for me).
And so, this last bug is finally corrected, I can now release the final version of the 1.4.9.0 G'MIC package !
Thanks again for your time.
1. From my side : There was only a very small bug concerning the display of the error message. So, it was displaying that all commands are recognized but it was displaying it wrong. I've been able to correct the bug (so thanks, for pointing me this out !).
2. In your '.gmic_faves' file, you reference entries named 'Graphic Novel FX', but this entry does not exist in your '.gmic' file. An entry with 'Graphic Novel Fx' exists on the contrary (not with a capital x!). So you need to correct that in your .gmic_faves :
{GN- Vaiolo}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{7.89474}{6}{5}{20}{0.738462}{14}{0}{0.58}{0.54}{3.59649}{6}{1}{1}{0.5}{0.894737}{4.47368}
{GN- CHIAROSCURO}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{4.36364}{10.4727}{5}{20}{0.12}{14}{0}{0.54}{2.9}{9}{0}{0.93}{1}{0.5}{0.54}{0.78}
{Graphic Novel Greysh Tint}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.95455}{1}{0.609091}{1}{0.5}{0.54}{0.78}
.. and this is working again (at least for me).
And so, this last bug is finally corrected, I can now release the final version of the 1.4.9.0 G'MIC package !
Thanks again for your time.
tom.keil
Posted 14 years ago
of course i will try to help to spare David a bit from all the update work for the whole community.
I will make myself familiar with the new option. What i understood by now is all i have to do is to put all the filters i propose into a .gmic file and post it to a realiable host where it should stay for download permanent and then post the link to David?
Question: How to handle updates for already existing filters which were taken into the gmic.14xx file? And will users be able to find what they look for? Usually when i look up something i flip through the self explaining categories of the filter list, like colours, artistic etc.?
I will make myself familiar with the new option. What i understood by now is all i have to do is to put all the filters i propose into a .gmic file and post it to a realiable host where it should stay for download permanent and then post the link to David?
Question: How to handle updates for already existing filters which were taken into the gmic.14xx file? And will users be able to find what they look for? Usually when i look up something i flip through the self explaining categories of the filter list, like colours, artistic etc.?
I corrected the Fx/FX issue and that is fixed. I'm having the same errors with Graphics Boost II, but I am going to try to fix it myself. I can always be a beta-tester with Windoze 7 - 64 bit.
Ronounours
Posted 14 years ago
@Tom : Yes, it is not harder than this : put your '.gmic' file as (for instance), a 'tomkeil.gmic' file available from a 'http://'-starting url, and give the url to me, so I can add it to the 'trusted' filter sources. Then, you can modify your file on your server, and updates will be available directly for users that added your additional filter source in the G'MIC plug-in.
As a consequence, I'm no more involved in the updating process of your filters, you can propose new filters, new updates without having to ask me. The good thing too, is you can propose very specialized new filters or modifications of existing filters in your own 'Tom Keil/' folder, even if these filters are intended to be used by very few people. It's a kind of plug-in personalization that you can share easily with other people.
I thought about it when reading the various experiments on Gimp Chat, where PhotoComiX, Mahvin and others usually modify or compose existing filters to fit their needs. Sometimes, the filter they obtain is quite 'heavy' (lot of parameters, gathering the parameters of the 'sub'-filters used). This kind of filter is typically what I expect to see in external filter sources. Also in your case, maybe you can put one version of your 'work-in-progress' 3d filter in your source, then after a while, if anything seems stabilized and finalized, we can transfer yout 'testing' version to the main filter tree.
It allows at the same time the co-existence of two versions of the same filter (one 'stable', one 'testing'), and it reduces the needs for 'official' updates as well (so it take less maintenance time to me :) ).
Really, I like the idea, there are so much things we can do with these new external sources, I'm really excited about the various uses you can think of.
@PhotoMasterGreg : Nice to hear the problem is fixed. You report allowed me to improve the handling of faves. Now when there is an error, I think this is really clear to understand what is happening, thanks to the error message displayed on the parameter frame.
So, in a sense, I've 'hated' you a little bit (and Mahvin!) for discovering this bug :), but I must confess you were right and finally you helped a lot to improve the G'MIC plug-in, so thanks you for all your perseverance !
As a consequence, I'm no more involved in the updating process of your filters, you can propose new filters, new updates without having to ask me. The good thing too, is you can propose very specialized new filters or modifications of existing filters in your own 'Tom Keil/' folder, even if these filters are intended to be used by very few people. It's a kind of plug-in personalization that you can share easily with other people.
I thought about it when reading the various experiments on Gimp Chat, where PhotoComiX, Mahvin and others usually modify or compose existing filters to fit their needs. Sometimes, the filter they obtain is quite 'heavy' (lot of parameters, gathering the parameters of the 'sub'-filters used). This kind of filter is typically what I expect to see in external filter sources. Also in your case, maybe you can put one version of your 'work-in-progress' 3d filter in your source, then after a while, if anything seems stabilized and finalized, we can transfer yout 'testing' version to the main filter tree.
It allows at the same time the co-existence of two versions of the same filter (one 'stable', one 'testing'), and it reduces the needs for 'official' updates as well (so it take less maintenance time to me :) ).
Really, I like the idea, there are so much things we can do with these new external sources, I'm really excited about the various uses you can think of.
@PhotoMasterGreg : Nice to hear the problem is fixed. You report allowed me to improve the handling of faves. Now when there is an error, I think this is really clear to understand what is happening, thanks to the error message displayed on the parameter frame.
So, in a sense, I've 'hated' you a little bit (and Mahvin!) for discovering this bug :), but I must confess you were right and finally you helped a lot to improve the G'MIC plug-in, so thanks you for all your perseverance !
I am troubleshooting my faves and it is calling for an entry name of "PhotoComiX_Graphic Boost II" containing a command "graphic_booost", which does not appear to be in my .gmic file at all. I am going to download the latest version of ver 1.4.9.0 and then seek out the .gmic code for Graphic Boost II.
Greg
Greg
Ronounours
Posted 14 years ago
@Greg : Maybe the command 'graphic_booost" were defined in your .gmic file once, but this kind of command name is probably not present in the default 'gmic_def.1490' file, since all gimp-specific filter all start with the prefix 'gimp_'.
OK, here I am making more trouble. I upgraded to the latest release and my faves errors regarding PC's Graphic Boost II have all gone away!! Yes! Maybe?? Nope!
All of the faves connected to PC's Graphic Boost II, now show the header for the selected filter, but everything else is really Fourier Analysis.
Here's a pic to clarify what I am seeing. The Header, up top, says "PC_GB2- Xtrem Melted:", but the author name, latest update and the preview are all from the Fourier Analysis fave (my first in the fave list).
All of the faves connected to PC's Graphic Boost II, now show the header for the selected filter, but everything else is really Fourier Analysis.
Here's a pic to clarify what I am seeing. The Header, up top, says "PC_GB2- Xtrem Melted:", but the author name, latest update and the preview are all from the Fourier Analysis fave (my first in the fave list).

Ronounours
Posted 14 years ago
That is weird. Could you send me the ' .gmic' and '.gmic_faves' files for a diagnostic ?
Thanks.
Thanks.
Ronounours
Posted 14 years ago
Grrr.. OK, I think I've an idea about why this is behaving like that, and again, this is my fault :(
I'm posting a new archive for 1.4.9.0 tonight, but I'm afraid we have to wait until monday to have a corrected Windows version available.
Anyway, this error happens because the entry/command/preview_command put in your .gmic_faves do not match with recognized commands. So, probably there is a fix to do in your '.gmic_faves' file. The bug I discovered in the 'gmic_gimp' code is only related to the display of the error message.
I'm posting a new archive for 1.4.9.0 tonight, but I'm afraid we have to wait until monday to have a corrected Windows version available.
Anyway, this error happens because the entry/command/preview_command put in your .gmic_faves do not match with recognized commands. So, probably there is a fix to do in your '.gmic_faves' file. The bug I discovered in the 'gmic_gimp' code is only related to the display of the error message.
PhotoComix_Mandala
Posted 14 years ago
Somehow all my preset vanished from my filter list
But i will check better as soon the new binary will be available
But i will check better as soon the new binary will be available
I know there is a deinite problem with my faves. It's looking for PhotoComiX_Graphic Boost II" which doesn't exist in my .gmic file.
.gmic
#@gimp Fourier picture watermark : gimp_fourier_picture_watermark, _none_
#@gimp : relative size = float(0.2,0.1,0.5)
#@gimp : sep = separator()
#@gimp : note = note("Note : To make the watermark visible afterwards, use the 'Fourier Analysis' filter. ")
gimp_fourier_picture_watermark :
-resize_ratio2d[0] {@{1,w}*$1},{@{1,h}*$1} -to_gray[0] -threshold[0] 127
-watermark_fourier2 -c 0,255
#@gmic watermark_fourier2 :
watermark_fourier2 :
-fft[-1] -shift[-2,-1] 50%,50%,0,0,2
[0],[0],1,{s}
-image[-3,-2] [-1],3,3,0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},3,0,0,1,[0]
-mirror[0] y
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],3,{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] y
-rm[-1] -shift[-2,-1] -50%,-50%,0,0,2 -ifft[-2,-1] -rm[-1]
-mv[-1] 1
-rm[0]
######################################################
#@gimp Graphic Novel Fx : gimp_photocomix_booost2, gimp_photocomix_booost2(0)
#@gimp : sep = separator ()
#@gimp : note = note("Apply Local Normalization")
#@gimp : SKIP this step = bool(false)
#@gimp : note = note ("Check the box will disable the 4 sliders below")
#@gimp : sep = separator ()
#@gimp : note = note(" Local Normalization Controls")
#@gimp : LN Amplititude = float(2,0,60)
#@gimp : LN Size = float(6,0,64)
#@gimp : LN Neightborhood-Smoothness = float(5,0,40)
#@gimp : LN Average-Smoothness = float(20,0,40)
#@gimp : sep = separator ()
#@gimp : sep = separator ()
#@gimp : note = note(" Pencil Options")
#@gimp : Pencil Size = float(0.12,0,4)
#@gimp : Pencil Amplitude = float(14,0,200)
#@gimp : sep = separator ()
#@gimp : note = note(" Do you wish to smooth the pencil effect ?")
#@gimp : Activate "Pencil Smoother" = bool(false)
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Pencil Smoother Sharpness = float(0.5,0,2)
#@gimp : Pencil Smoother Edge Protection = float(0.54,0,1)
#@gimp : Pencil Smoother Smoothness = float(1.12,0,10)
#@gimp : sep = separator ()
#@gimp : note = note ("Boost Merging Options")
#@gimp : BOOST Merging Option = choice (Overlay , Multiply, Soft light,Color Burn,Darken,Stamp,Hard Light,Value ,Freeze)
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator ()
#@gimp : Add Painter's Touch = bool()
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Painter's Touch Sharpness = float(0.5,0,2)
#@gimp : Painter's Edge Protection Flow = float(0.54,0,1)
#@gimp : Painter's Smoothness =float(0.78,0,10)
#@gimp : sep = separator(), note = note("Author : PhotoComiX. Last update : 2011/1/6.")
#@gimp : note = link("Filter explained here","http://www.gimpchat.com/viewtopic.php?f=9&t=775")
gimp_photocomix_booost2 :
-repeat @# -l[$>] -split_opacity -l[0]
-if {$1==0} -gimp_normalize_local $2,$3,$4,$5,1,3,0 -elif {$1==1} -gimp_do_nothing -endif
--gimp_pencilbw $6,$7,0,0,0
-if {$8==0} -gimp_do_nothing[1] -elif {$8==1} -gimp_anisotropic_smoothing[-1] 60,$9,$10,$11,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-if {$12==0} -gimp_compose_overlay[1,0] $13
-elif {$12==1} -gimp_compose_multiply[1,0] $13
-elif {$12==2} -gimp_compose_softlight[1,0] $13
-elif {$12==3} -gimp_compose_colorburn[1,0] $13
-elif {$12==4} -gimp_compose_darken[1,0] $13
-elif {$12==5} -gimp_compose_stamp[1,0] $13
-elif {$12==6} -gimp_compose_hardlight[1,0] $13
-elif {$12==7} -reverse[1,0] -gimp_compose_value[1,0] $13
-elif {$12==8} -gimp_compose_freeze[1,0] $13 -endif
-if {$14==0} -gimp_do_nothing -elif {$14==1} -gimp_anisotropic_smoothing 60,$15,$16,$17,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-endl -a c -endl -done
################################################################################
#######################################################
#@gimp Stained Glass 2 : gimp_stained_glass2a, gimp_stained_glass2a_preview(0)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Merge = choice( "Color Burn ","Grain Merge","Hard Light","Soft Light","Overlay","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator(), note = note("Author : David Tschumperlé. Latest update : 2011/03/18.")
gimp_stained_glass2a :
-repeat @# -l[$>] -split_opacity -l[0]
-blur 0.1 -stained_glass $1,$2,$3
-n 0,255
-if $4 -equalize[-1] 256 -endif
-if {$5==0} --blur 0.9 -gimp_compose_colorburn $6
-elif {$5==1} --blur 0.9 -gimp_compose_grainmerge $6
-elif {$5==2} --blur 0.9 -gimp_compose_hardlight $6
-elif {$5==3} --blur 0.9 -gimp_compose_softlight $6
-elif {$5==4} --blur 0.9 -gimp_compose_overlay $6
-elif {$5==5} --blur 0.9 -gimp_compose_multiply $6
-elif {$5==6} -gimp_do_nothing -endif
-blur 0.4
-endl -append c -endl -done
gimp_stained_glass2a_preview :
-gimp_split_preview "-gimp_stained_glass2a ${1--2}",$-1
###################################################
################ STAMP START ########################
#@gimp Stamp : my_third_filter, my_third_filter
#@gimp : note = note("Creates a stamp effect with strength 0-30 and blur 1-5")
#@gimp : Amplitude = int(2,0,50)
#@gimp : Smoothness = float(.1,0,10)
#@gimp : Sharpening = float(.1,0,10))
#@gimp : Channel(s) = choice("All","RGBA","RGB","Luminance","Blue/red chrominances","Blue chrominance","Red chrominance","Lightness","ab-components","a-component","b-component","Hue","Saturation","Value","Key","Alpha","ch-components","c-component","h-component")
#@gimp : sep = separator(), note = note("Author : antaron, David Tschumperlé. Latest update : 2011/03/26.")
my_third_filter :
-skip ${1=0},${2=3}
-norm
-t {50+$1}%
-to_rgb
-blur $2,0
-n 0,255
-apply_curve 1,0,0,101,33,170,229,255,255
-apply_channels "-repeat $1 -blur $3 -unsharp $3,$2 -c 0,255 -mv[-1] 0 -done",$4,0
################ STAMP END ##########################
###################################################################################################
#@gimp Psychedelic Glasswork Tiler : gimp_psy_glass, gimp_psy_glass_preview
#@gimp : sep = separator()
#@gimp : note = note("Stained Glass Controls")
#@gimp : sep = separator()
#@gimp : White separators = bool(false)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Quick Corrections and Special Fx")
#@gimp : Apply Mask = bool(true)
#@gimp : note = note(" Contrast Mask preset")
#@gimp : sep = separator()
#@gimp : Raise Local Contrast = bool(false)
#@gimp : note = note("Local Normalization preset")
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Mirrors Controls")
#@gimp : Activate Mirrors = bool(true)
#@gimp : sep = separator()
#@gimp : Iterations = int(1,1,10)
#@gimp : X-offset = float(0,0,100)
#@gimp : Y-offset = float(0,0,100)
#@gimp : Array mode = choice(2,"X-axis","Y-axis","XY-axes","2XY-axes")
#@gimp : Initialization = choice("Original","Mirror X","Mirror Y","Rotate 90 deg.","Rotate 180 deg.","Rotate 270 deg.")
#@gimp : Expand size = _bool(false)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator()
#@gimp : sep = separator(), note = note("Author : PhotoComix;. Latest update : 2011/03/30.")
gimp_psy_glass :
-repeat @# -l[$>]
-if {$1==0} -blur 0.1 -stained_glass $2,$3,$4
-n 0,255
-elif {$1==1} -negative
-blur 0.1 -stained_glass $2,$3,$4
-n 0,255 -negative -endif
-if $5 -equalize[-1] 256 -endif
-if {$6==0} --blur 0.9 -gimp_compose_grainmerge $7
-elif {$6==1} --blur 0.9 -gimp_compose_hardlight $7
-elif {$6==2} --blur 0.9 -gimp_compose_softlight $7
-elif {$6==3} --blur 0.9 -gimp_compose_overlay $7
-elif {$6==4} --blur 0.9 -gimp_compose_colorburn $7
-elif {$6==5} --blur 0.9 -gimp_compose_multiply $7
-elif {$6==6} -gimp_do_nothing -endif
-if {$8==0} -gimp_do_nothing
-elif {$8==1} -gimp_contrast_swm 2,0,1,0 -endif
-if {$9==0} -gimp_do_nothing
-elif {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if {$10==0} -gimp_do_nothing -return -endif
-if {$15==1} -mirror x
-elif {$15==2} -mirror y
-elif {$15==3} -rotate 90
-elif {$15==4} -rotate 180
-elif {$15==5} -rotate 270
-endif
-array_mirror $11,$14,$16
-shift -$12%,-$13%,0,0,2
-endl -done
gimp_psy_glass_preview :
-gimp_split_preview " -gimp_psy_glass ${1--2}",$-1
#############################################
.gmic
#@gimp Fourier picture watermark : gimp_fourier_picture_watermark, _none_
#@gimp : relative size = float(0.2,0.1,0.5)
#@gimp : sep = separator()
#@gimp : note = note("Note : To make the watermark visible afterwards, use the 'Fourier Analysis' filter. ")
gimp_fourier_picture_watermark :
-resize_ratio2d[0] {@{1,w}*$1},{@{1,h}*$1} -to_gray[0] -threshold[0] 127
-watermark_fourier2 -c 0,255
#@gmic watermark_fourier2 :
watermark_fourier2 :
-fft[-1] -shift[-2,-1] 50%,50%,0,0,2
[0],[0],1,{s}
-image[-3,-2] [-1],3,3,0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},3,0,0,1,[0]
-mirror[0] y
-image[-3,-2] [-1],{@{-2,w}-2-@{0,w}},{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] x
-image[-3,-2] [-1],3,{@{-2,h}-2-@{0,h}},0,0,1,[0]
-mirror[0] y
-rm[-1] -shift[-2,-1] -50%,-50%,0,0,2 -ifft[-2,-1] -rm[-1]
-mv[-1] 1
-rm[0]
######################################################
#@gimp Graphic Novel Fx : gimp_photocomix_booost2, gimp_photocomix_booost2(0)
#@gimp : sep = separator ()
#@gimp : note = note("Apply Local Normalization")
#@gimp : SKIP this step = bool(false)
#@gimp : note = note ("Check the box will disable the 4 sliders below")
#@gimp : sep = separator ()
#@gimp : note = note(" Local Normalization Controls")
#@gimp : LN Amplititude = float(2,0,60)
#@gimp : LN Size = float(6,0,64)
#@gimp : LN Neightborhood-Smoothness = float(5,0,40)
#@gimp : LN Average-Smoothness = float(20,0,40)
#@gimp : sep = separator ()
#@gimp : sep = separator ()
#@gimp : note = note(" Pencil Options")
#@gimp : Pencil Size = float(0.12,0,4)
#@gimp : Pencil Amplitude = float(14,0,200)
#@gimp : sep = separator ()
#@gimp : note = note(" Do you wish to smooth the pencil effect ?")
#@gimp : Activate "Pencil Smoother" = bool(false)
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Pencil Smoother Sharpness = float(0.5,0,2)
#@gimp : Pencil Smoother Edge Protection = float(0.54,0,1)
#@gimp : Pencil Smoother Smoothness = float(1.12,0,10)
#@gimp : sep = separator ()
#@gimp : note = note ("Boost Merging Options")
#@gimp : BOOST Merging Option = choice (Overlay , Multiply, Soft light,Color Burn,Darken,Stamp,Hard Light,Value ,Freeze)
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator ()
#@gimp : Add Painter's Touch = bool()
#@gimp : note = note(" If unchecked the 3 sliders below are disabled ")
#@gimp : sep = separator ()
#@gimp : Painter's Touch Sharpness = float(0.5,0,2)
#@gimp : Painter's Edge Protection Flow = float(0.54,0,1)
#@gimp : Painter's Smoothness =float(0.78,0,10)
#@gimp : sep = separator(), note = note("Author : PhotoComiX. Last update : 2011/1/6.")
#@gimp : note = link("Filter explained here","http://www.gimpchat.com/viewtopic.php?f=9&t=775")
gimp_photocomix_booost2 :
-repeat @# -l[$>] -split_opacity -l[0]
-if {$1==0} -gimp_normalize_local $2,$3,$4,$5,1,3,0 -elif {$1==1} -gimp_do_nothing -endif
--gimp_pencilbw $6,$7,0,0,0
-if {$8==0} -gimp_do_nothing[1] -elif {$8==1} -gimp_anisotropic_smoothing[-1] 60,$9,$10,$11,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-if {$12==0} -gimp_compose_overlay[1,0] $13
-elif {$12==1} -gimp_compose_multiply[1,0] $13
-elif {$12==2} -gimp_compose_softlight[1,0] $13
-elif {$12==3} -gimp_compose_colorburn[1,0] $13
-elif {$12==4} -gimp_compose_darken[1,0] $13
-elif {$12==5} -gimp_compose_stamp[1,0] $13
-elif {$12==6} -gimp_compose_hardlight[1,0] $13
-elif {$12==7} -reverse[1,0] -gimp_compose_value[1,0] $13
-elif {$12==8} -gimp_compose_freeze[1,0] $13 -endif
-if {$14==0} -gimp_do_nothing -elif {$14==1} -gimp_anisotropic_smoothing 60,$15,$16,$17,1.1,0.8,30,2,0,1,1,0,1,0 -endif
-endl -a c -endl -done
################################################################################
#######################################################
#@gimp Stained Glass 2 : gimp_stained_glass2a, gimp_stained_glass2a_preview(0)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Merge = choice( "Color Burn ","Grain Merge","Hard Light","Soft Light","Overlay","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator(), note = note("Author : David Tschumperlé. Latest update : 2011/03/18.")
gimp_stained_glass2a :
-repeat @# -l[$>] -split_opacity -l[0]
-blur 0.1 -stained_glass $1,$2,$3
-n 0,255
-if $4 -equalize[-1] 256 -endif
-if {$5==0} --blur 0.9 -gimp_compose_colorburn $6
-elif {$5==1} --blur 0.9 -gimp_compose_grainmerge $6
-elif {$5==2} --blur 0.9 -gimp_compose_hardlight $6
-elif {$5==3} --blur 0.9 -gimp_compose_softlight $6
-elif {$5==4} --blur 0.9 -gimp_compose_overlay $6
-elif {$5==5} --blur 0.9 -gimp_compose_multiply $6
-elif {$5==6} -gimp_do_nothing -endif
-blur 0.4
-endl -append c -endl -done
gimp_stained_glass2a_preview :
-gimp_split_preview "-gimp_stained_glass2a ${1--2}",$-1
###################################################
################ STAMP START ########################
#@gimp Stamp : my_third_filter, my_third_filter
#@gimp : note = note("Creates a stamp effect with strength 0-30 and blur 1-5")
#@gimp : Amplitude = int(2,0,50)
#@gimp : Smoothness = float(.1,0,10)
#@gimp : Sharpening = float(.1,0,10))
#@gimp : Channel(s) = choice("All","RGBA","RGB","Luminance","Blue/red chrominances","Blue chrominance","Red chrominance","Lightness","ab-components","a-component","b-component","Hue","Saturation","Value","Key","Alpha","ch-components","c-component","h-component")
#@gimp : sep = separator(), note = note("Author : antaron, David Tschumperlé. Latest update : 2011/03/26.")
my_third_filter :
-skip ${1=0},${2=3}
-norm
-t {50+$1}%
-to_rgb
-blur $2,0
-n 0,255
-apply_curve 1,0,0,101,33,170,229,255,255
-apply_channels "-repeat $1 -blur $3 -unsharp $3,$2 -c 0,255 -mv[-1] 0 -done",$4,0
################ STAMP END ##########################
###################################################################################################
#@gimp Psychedelic Glasswork Tiler : gimp_psy_glass, gimp_psy_glass_preview
#@gimp : sep = separator()
#@gimp : note = note("Stained Glass Controls")
#@gimp : sep = separator()
#@gimp : White separators = bool(false)
#@gimp : Edges = float(20,0,100)
#@gimp : Shading = float(0.1,0,0.5)
#@gimp : Thin separators = bool(1)
#@gimp : Equalize = bool(1)
#@gimp : sep = separator()
#@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply","Skip Merging")
#@gimp : Opacity = float(1,0,1)
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Quick Corrections and Special Fx")
#@gimp : Apply Mask = bool(true)
#@gimp : note = note(" Contrast Mask preset")
#@gimp : sep = separator()
#@gimp : Raise Local Contrast = bool(false)
#@gimp : note = note("Local Normalization preset")
#@gimp : sep = separator()
#@gimp : sep = separator()
#@gimp : note = note("Mirrors Controls")
#@gimp : Activate Mirrors = bool(true)
#@gimp : sep = separator()
#@gimp : Iterations = int(1,1,10)
#@gimp : X-offset = float(0,0,100)
#@gimp : Y-offset = float(0,0,100)
#@gimp : Array mode = choice(2,"X-axis","Y-axis","XY-axes","2XY-axes")
#@gimp : Initialization = choice("Original","Mirror X","Mirror Y","Rotate 90 deg.","Rotate 180 deg.","Rotate 270 deg.")
#@gimp : Expand size = _bool(false)
#@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
#@gimp : sep = separator()
#@gimp : sep = separator(), note = note("Author : PhotoComix;. Latest update : 2011/03/30.")
gimp_psy_glass :
-repeat @# -l[$>]
-if {$1==0} -blur 0.1 -stained_glass $2,$3,$4
-n 0,255
-elif {$1==1} -negative
-blur 0.1 -stained_glass $2,$3,$4
-n 0,255 -negative -endif
-if $5 -equalize[-1] 256 -endif
-if {$6==0} --blur 0.9 -gimp_compose_grainmerge $7
-elif {$6==1} --blur 0.9 -gimp_compose_hardlight $7
-elif {$6==2} --blur 0.9 -gimp_compose_softlight $7
-elif {$6==3} --blur 0.9 -gimp_compose_overlay $7
-elif {$6==4} --blur 0.9 -gimp_compose_colorburn $7
-elif {$6==5} --blur 0.9 -gimp_compose_multiply $7
-elif {$6==6} -gimp_do_nothing -endif
-if {$8==0} -gimp_do_nothing
-elif {$8==1} -gimp_contrast_swm 2,0,1,0 -endif
-if {$9==0} -gimp_do_nothing
-elif {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if {$10==0} -gimp_do_nothing -return -endif
-if {$15==1} -mirror x
-elif {$15==2} -mirror y
-elif {$15==3} -rotate 90
-elif {$15==4} -rotate 180
-elif {$15==5} -rotate 270
-endif
-array_mirror $11,$14,$16
-shift -$12%,-$13%,0,0,2
-endl -done
gimp_psy_glass_preview :
-gimp_split_preview " -gimp_psy_glass ${1--2}",$-1
#############################################
.gmic_faves
{Fourier analysis}{Fourier analysis}{gimp_display_fft}{gimp_display_fft}
{3d lathing}{3d lathing}{gimp_lathing3d}{gimp_lathing3d_preview}{76}{0.6}{361}{1024}{1024}{0.5}{57}{41}{21}{45}{0}{0}{-100}{0.5}{0.7}{4}
{GN- Vaiolo}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{7.89474}{6}{5}{20}{0.738462}{14}{0}{0.58}{0.54}{3.59649}{6}{1}{1}{0.5}{0.894737}{4.47368}
{GN- CHIAROSCURO}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{4.36364}{10.4727}{5}{20}{0.12}{14}{0}{0.54}{2.9}{9}{0}{0.93}{1}{0.5}{0.54}{0.78}
{Graphic Novel Greysh Tint}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.95455}{1}{0.609091}{1}{0.5}{0.54}{0.78}
{Graphic Novel _scarnified}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{3.54545}{21.2364}{2.72727}{4.72727}{0.890909}{20.7921}{1}{0.5}{0.781818}{3.22727}{3}{1}{1}{0.5}{0.54}{0.78}
{Graphic Novel-vaiolo}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{3.54545}{21.2364}{2.72727}{4.72727}{0.890909}{20.7921}{1}{0.5}{0.781818}{3.22727}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- softer_default}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.12}{0}{1}{0}{0.5}{0.54}{0.78}
{PC-GB2_Dark Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.12}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2-Dark Sharp Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{0}{0.5}{0.54}{1.12}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2 - Xtrem boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{9.34579}{0.971963}{7.47664}{0}{0.5}{0.54}{1.12}{3}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- Xtrem Melted}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{9.34579}{0.971963}{7.47664}{1}{0.5}{0.54}{1.12}{3}{1}{0}{0.5}{0.54}{0.78}
{PC_GB BW Ink Wash}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{1.12}{7}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- BW sharp}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{0}{0.5}{0.54}{1.12}{7}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- Cold Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{1.12}{8}{1}{1}{0.5}{0.54}{0.78}
{PC_GB2 - cold simplify}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{1}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{0.654206}{5}{0.514019}{0}{0.5}{0.54}{0.78}
{GB- portarait drama}{Graphic_Boost}{gimp_boost1}{gimp_boost1}{1.9802}{1.36364}{0.727273}{16.8317}{1}{0.254545}{0.842178}{5.36364}{0}{2}{0.963636}{0}{0.536364}{0.818182}{1.54545}
{Stained Glass 2}{Stained Glass 2}{gimp_stained_glass2a}{gimp_stained_glass2a_preview}{20}{0.1}{1}{1}{0}{1}{0}
{Fourier analysis}{Fourier analysis}{gimp_display_fft}{gimp_display_fft}
{3d lathing}{3d lathing}{gimp_lathing3d}{gimp_lathing3d_preview}{76}{0.6}{361}{1024}{1024}{0.5}{57}{41}{21}{45}{0}{0}{-100}{0.5}{0.7}{4}
{GN- Vaiolo}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{7.89474}{6}{5}{20}{0.738462}{14}{0}{0.58}{0.54}{3.59649}{6}{1}{1}{0.5}{0.894737}{4.47368}
{GN- CHIAROSCURO}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{1}{4.36364}{10.4727}{5}{20}{0.12}{14}{0}{0.54}{2.9}{9}{0}{0.93}{1}{0.5}{0.54}{0.78}
{Graphic Novel Greysh Tint}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.95455}{1}{0.609091}{1}{0.5}{0.54}{0.78}
{Graphic Novel _scarnified}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{3.54545}{21.2364}{2.72727}{4.72727}{0.890909}{20.7921}{1}{0.5}{0.781818}{3.22727}{3}{1}{1}{0.5}{0.54}{0.78}
{Graphic Novel-vaiolo}{Graphic Novel Fx}{gimp_photocomix_booost2}{gimp_photocomix_booost2}{0}{3.54545}{21.2364}{2.72727}{4.72727}{0.890909}{20.7921}{1}{0.5}{0.781818}{3.22727}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- softer_default}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.12}{0}{1}{0}{0.5}{0.54}{0.78}
{PC-GB2_Dark Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{1}{0.5}{0.54}{1.12}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2-Dark Sharp Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{20}{0.12}{14}{0}{0.5}{0.54}{1.12}{1}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2 - Xtrem boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{9.34579}{0.971963}{7.47664}{0}{0.5}{0.54}{1.12}{3}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- Xtrem Melted}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{2}{6}{5}{9.34579}{0.971963}{7.47664}{1}{0.5}{0.54}{1.12}{3}{1}{0}{0.5}{0.54}{0.78}
{PC_GB BW Ink Wash}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{1.12}{7}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- BW sharp}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{0}{0.5}{0.54}{1.12}{7}{1}{0}{0.5}{0.54}{0.78}
{PC_GB2- Cold Boost}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{0}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{1.12}{8}{1}{1}{0.5}{0.54}{0.78}
{PC_GB2 - cold simplify}{PhotoComiX_Graphic Boost II}{graphic_booost}{graphic_booost}{1}{4.48598}{10.1682}{6.35514}{9.34579}{0.598131}{44.8598}{1}{0.5}{0.54}{0.654206}{5}{0.514019}{0}{0.5}{0.54}{0.78}
{GB- portarait drama}{Graphic_Boost}{gimp_boost1}{gimp_boost1}{1.9802}{1.36364}{0.727273}{16.8317}{1}{0.254545}{0.842178}{5.36364}{0}{2}{0.963636}{0}{0.536364}{0.818182}{1.54545}
{Stained Glass 2}{Stained Glass 2}{gimp_stained_glass2a}{gimp_stained_glass2a_preview}{20}{0.1}{1}{1}{0}{1}{0}
Ronounours
Posted 14 years ago
OK, so I have been able finally to compile the 'corrected' version this morning. Should be available on the website right now.
Sorry for the inconvenience.
Sorry for the inconvenience.
tom.keil
Posted 14 years ago
So let me give it a try :-) I hosted the filter file here:
By now it contains just three filter (but 2 are new :-))
-the latest update of the 3D conversion filter with linked tutorial
-a filter to create autostereograms (also called "magic eye images")
-and a filter to obtain "soft vintage looks", a processing style highly popular, at least in german communities.
If all goes well David will get rid of the annoying update works :-)
Edit: next problem, flickr does not accept the input of my URL, will post it to David
By now it contains just three filter (but 2 are new :-))
-the latest update of the 3D conversion filter with linked tutorial
-a filter to create autostereograms (also called "magic eye images")
-and a filter to obtain "soft vintage looks", a processing style highly popular, at least in german communities.
If all goes well David will get rid of the annoying update works :-)
Edit: next problem, flickr does not accept the input of my URL, will post it to David
Ronounours
Posted 14 years ago
@Tom : I'm waiting for your e-mail with great impatience Tom !
Also, do not hesitate to inspire yourself from a working example, as :
www.greyc.ensicaen.fr/~dtschump/ronounours.gmic
(for instance ;) ).
Also, do not hesitate to inspire yourself from a working example, as :
www.greyc.ensicaen.fr/~dtschump/ronounours.gmic
(for instance ;) ).
Ronounours
Posted 14 years ago
No sorry, there is nothing in my Flickr mail.
Maybe you can copy/paste the URL in a pastebin sample ?
Maybe you can copy/paste the URL in a pastebin sample ?
Ronounours
Posted 14 years ago
Well, it won't work.
The URL : www.4shared.c0m/dir/YpQcNqYi/GMIC_filters.html
(remove the space) does not display the text file directly, but a download page. So, the URL does *not* point to the .gmic text file.
Also, the kind of service you are using here does not allow you to modify the file, and keep *the same URL* for the file, so this is not good.
What you need is to place your g'mic file on a simple web server (but perhaps you don't have an access to a web server ? Perhaps there are some free available (google pages?)).
Also one final suggestion : you *need* to write your first line of your .gmic file as '#@gmic'. This header allows G'MIC to recognize the file has been correctly downloaded when refreshing the filters.
The URL : www.4shared.c0m/dir/YpQcNqYi/GMIC_filters.html
(remove the space) does not display the text file directly, but a download page. So, the URL does *not* point to the .gmic text file.
Also, the kind of service you are using here does not allow you to modify the file, and keep *the same URL* for the file, so this is not good.
What you need is to place your g'mic file on a simple web server (but perhaps you don't have an access to a web server ? Perhaps there are some free available (google pages?)).
Also one final suggestion : you *need* to write your first line of your .gmic file as '#@gmic'. This header allows G'MIC to recognize the file has been correctly downloaded when refreshing the filters.
Ronounours
Posted 14 years ago
Maybe a possible workaround. If you create an account on Pastebin, then you can *edit* your files, which means in your case that you can host your .gmic file probably on pastebin (but you need to log-in so that you can keep the same URL for your next updates, just by editing your pastebin entry).
tom.keil
Posted 14 years ago
@David: Thanks for the hints, first time is always difficult :-)
I will set up a webpage with the file maybe tonight or tomorrow, i have a free webserver access. But will the file then be a html-file then like usual when placing something on a website?
I will set up a webpage with the file maybe tonight or tomorrow, i have a free webserver access. But will the file then be a html-file then like usual when placing something on a website?
Ronounours
Posted 14 years ago
Basically, you just need to put your .gmic file in your web server (and keep your .gmic extension of course). It doesn't matter if this is an html file or not actually (in your case, it's not, but this is not a problem as long as it is accessible).
PhotoComix_Mandala
Posted 14 years ago
I am planning to rewrite all the filter,because thank to last David fix and tips i may finally improve them as i wished
it may take a few days, i will report the update in the submission topic,
it may take a few days, i will report the update in the submission topic,
This new update identifies the errors. Now I can try to figure out what's wrong with my faves.
David:
I select yours and Karos filters but it doesn't show up in the lists anywhere? I was looking forward to this and it doesn't seem to work for me in the Ubuntu debian version of 1.4.9.0.
UPDATE:
OK, I finally got it (RTFI!) Anyway, press "Apply" then "Refresh". Working now.
I select yours and Karos filters but it doesn't show up in the lists anywhere? I was looking forward to this and it doesn't seem to work for me in the Ubuntu debian version of 1.4.9.0.
UPDATE:
OK, I finally got it (RTFI!) Anyway, press "Apply" then "Refresh". Working now.
tom.keil
Posted 14 years ago
@David: thanks for explaining, i now created a little website www.tkfilter.bplaced.net/
to display the filters and over time improve it and move tutorials and samples there.
For now it is just hosting my .gmic file which can be accessed here:
www.tkfilter.bplaced.net/.gmic
I hope i did it right this time.
to display the filters and over time improve it and move tutorials and samples there.
For now it is just hosting my .gmic file which can be accessed here:
www.tkfilter.bplaced.net/.gmic
I hope i did it right this time.
Ronounours
Posted 14 years ago
It looks perfect, I'm adding it right now, will see if this is working as expected. Thanks Tom.
That is working Tom, except that your filters are not placed inside a sub-folder. Could you add a line, such as :
at the beginning of your file (but after the first 'header' line '#@gmic').
Thanks for your help !
#@gimp <b>Tom Keil's filters</b>
at the beginning of your file (but after the first 'header' line '#@gmic').
Thanks for your help !
Will do it in a minute, good way to try the updating:
Edit: done, this is really great and easy to use after the first steps mastered :-) All works perfect like it should, thanks again.
Edit: done, this is really great and easy to use after the first steps mastered :-) All works perfect like it should, thanks again.
Photomaster
Grphic boost 2 was renamed as Graphic Novel and also the function name was changed to avoid conflict with older version-
the most simple fix is obviously add back the old code in your gmic file.
in case you lost i should have a backup,() maybe could be recovered also on gimpchat
It is not the cleaner solution but since i plan to update very soon Graphic Novel And Graphic boost may work as temporary solution
at soon i finish the new versions i will also port the old preset, doing now may be a waste of time because i plan to modify a couple of parameters, and that will brake again the presets ( i am trying to make the changes in a way that old preset may be easily updated )
Grphic boost 2 was renamed as Graphic Novel and also the function name was changed to avoid conflict with older version-
the most simple fix is obviously add back the old code in your gmic file.
in case you lost i should have a backup,() maybe could be recovered also on gimpchat
It is not the cleaner solution but since i plan to update very soon Graphic Novel And Graphic boost may work as temporary solution
at soon i finish the new versions i will also port the old preset, doing now may be a waste of time because i plan to modify a couple of parameters, and that will brake again the presets ( i am trying to make the changes in a way that old preset may be easily updated )
@PC - I went in and changed all the occurances of "PhotoComiX_Graphic Boost II" and changed them to "Graphic Novel Fx".
Then I changed "graphic_booost" to "gimp_photocomix_booost2". Now I don't know if this is correct, but the errors all went away. I am going to play with the filters, and see if they work for me.
Thanks PC!
Then I changed "graphic_booost" to "gimp_photocomix_booost2". Now I don't know if this is correct, but the errors all went away. I am going to play with the filters, and see if they work for me.
Thanks PC!
PhotoComix_Mandala
Posted 14 years ago
It may work because if i remember well there were no other relevant changes
If doesn't work let me know
If doesn't work let me know
Ronounours
Posted 14 years ago
Thanks Tom for this nice filter source. Next one by PhotoComiX ? that would be really great :)
lylejk
Posted 14 years ago
How come Tom's presets don't have it's own sub directory? Just curious. His fantastic 3D preset still shows up under render. :)
As now i have only the filters already submitted
I was thinking to start with the new versions...
I was thinking to start with the new versions...
Ronounours
Posted 14 years ago
@Lyle : Yes, Tom has now its own subfolder. But of course, the previous '3d converter" filter is still in the 'Rendering/' section (but probably not the latest version).
@PhotoComiX : OK, let me know if you want to set a filter source.
@PhotoComiX : OK, let me know if you want to set a filter source.
Done
only 2 filters now one is a updated version of Ink wash
( will not conflict with the included version )
Please let me know if i did correctly and really sorry for have let you waiting too long
pastebin.com/download.php?i=MmdeG0Gf
only 2 filters now one is a updated version of Ink wash
( will not conflict with the included version )
Please let me know if i did correctly and really sorry for have let you waiting too long
pastebin.com/download.php?i=MmdeG0Gf
Ronounours
Posted 14 years ago
Well PhotoComiX, it seems that finally Pastebin does not allow an easy and direct access to a hosted file, so I'm afraid you need to find another server to host your .gmic file.
Could you send me another URL of the file on a web server ? Thanks, and sorry for these technical details.
Could you send me another URL of the file on a web server ? Thanks, and sorry for these technical details.
No problem i think i may solve very quickly(later tonight )
EDIT:
This works ?
photocomix.mahvin.com/filters/MmdeG0Gf.txt
EDIT:
This works ?
photocomix.mahvin.com/filters/MmdeG0Gf.txt
Ronounours
Posted 14 years ago
Adding a preset is quite a simple process in a G'MIC file.
Either you want to allow the user to changes the parameters of the preset, in that case, just copy/paste all the '#@gimp'-starting lines of your filter and set the preset values in it, either you want to propose a more simple preset, and in that case, you can add a filter as :
Either you want to allow the user to changes the parameters of the preset, in that case, just copy/paste all the '#@gimp'-starting lines of your filter and set the preset values in it, either you want to propose a more simple preset, and in that case, you can add a filter as :
#@gimp My Preset : my_preset, my_preset
my_preset : -function_name preset_arg1,preset_arg2,...
PhotoComix_Mandala
Posted 14 years ago
the link i posted works ?
photocomix.mahvin.com/filters/MmdeG0Gf.txt
photocomix.mahvin.com/filters/MmdeG0Gf.txt
Mahvin
Posted 14 years ago
David: Thanks for adding these cool features. I sincerely appreciate this!
David from your reply i believe you didn't understand my question on preset
But i don't want confuse this topic, better move that discussion on a separate topic, i will do later rephrasing the the question more clearly
Here i will like to know if you may access to this link
photocomix.mahvin.com/filters/MmdeG0Gf.txt and if that fullfill your requisites for a filter source
PS thank Mahvin for hosting
But i don't want confuse this topic, better move that discussion on a separate topic, i will do later rephrasing the the question more clearly
Here i will like to know if you may access to this link
photocomix.mahvin.com/filters/MmdeG0Gf.txt and if that fullfill your requisites for a filter source
PS thank Mahvin for hosting
Ronounours
Posted 14 years ago
Yes PhotoComiX, it works !
Just 'Refresh' your filters, go to 'About/Additional filters', then 'Apply', then 'Refresh' again, and you're in !
Congratulations ;)
Just 'Refresh' your filters, go to 'About/Additional filters', then 'Apply', then 'Refresh' again, and you're in !
Congratulations ;)
Ronounours
Posted 14 years ago
So, I think I can remove the Stained Glass version I have in my Ronounours' source now.
PhotoComix_Mandala
Posted 14 years ago
yes or i may remove mine as you prefer
Now i'm going to open the discussion for presets..may take a bit because i want clear with a mock up
Now i'm going to open the discussion for presets..may take a bit because i want clear with a mock up
I will prefer the "additional filter " menu entry not a subset of" about" but a bit more exposed :
a category as "Experimental" or "Various"
I speak here also as user, if i would not know well where is the option i would have problem to find it
Instead would be fine as a category
PS about my previous message on preset...sorry i can't found time for a mock up, i want finish first something for me more pressing ( also related to gmic)
a category as "Experimental" or "Various"
I speak here also as user, if i would not know well where is the option i would have problem to find it
Instead would be fine as a category
PS about my previous message on preset...sorry i can't found time for a mock up, i want finish first something for me more pressing ( also related to gmic)