the code you use is different, it has another (function) name
please replace with this
#################################################
################################################################################################### #@gimp Psychedelic Glasswork Tiler : gimp_psyglass, gimp_psyglass_preview #@gimp : sep = separator() #@gimp : note = note("Stained Glass controls") #@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 : sep = separator() #@gimp : note = note("To skip Layer Fx set Opacity to 0") #@gimp : sep = separator() #@gimp : Layer Fx = choice("Grain Merge","Hard Light","Soft Light","Overlay","Color Burn ","Multiply",) #@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("<small>Author : <i>PhotoComix;</i>. Latest update : <i>2011/03/30</i>.</small>")
gimp_psyglass :
-repeat @# -l[$>] -split_opacity -l[0] -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 256 -endif --blur 0.9 -if {$6==0} -gimp_compose_grainmerge $7 -elif {$6==1} -gimp_compose_hardlight $7 -elif {$6==2} -gimp_compose_softlight $7 -elif {$6==3} -gimp_compose_overlay $7 -elif {$6==4} -gimp_compose_colorburn $7 -elif {$6==5} -gimp_compose_multiply $7 -endif -if {$8==1} -gimp_contrast_swm 2,0,1,0 -endif -if {$9==1} -gimp_normalize_local 2,6,5,20,1,3,0 -endif
-if $10 # Apply mirror effect. -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 -endif
-endl -a c -endl -done
gimp_psyglass_preview : -gimp_split_preview " -gimp_psyglass ${1--2}",$-1 #############################################
do you remember where you got that code so i may correct there ?
_________________ My 3D Gallery on Deviantart http://photocomix2.deviantart.com/ Main gallery http://www.flickriver.com/photos/photocomix-mandala/ Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/
![Image](http://farm4.static.flickr.com/3262/2346652286_fe022f3934_o.jpg)
Mrs Wilbress
Last edited by PhotoComix on Thu Apr 07, 2011 3:06 pm, edited 1 time in total.
|