Ready for testing
Gmic "Psychedelic Glasswork" by
PhotoComiX, on Flickr
The filter has 4 modulo :
1) "Stained Glass"identical to the Stained Glass filter but for a extra option
"White Separators "(= "Double invertion" see
viewtopic.php?f=11&t=1413)
"White Separators " don't change only the separator color, may work well on some images much less with other
2) "Layer Fx"All Layer Fx could be switched off or on
To switch off chose last option from the dropdown list "Skip Merging" ( or set Opacity to 0 )
3) Quick Adjustmentallow to apply on the fly with default setting Contrast Mask and/or Local Normalization
4) "Mirrors Control"Also this module may be switched off or on (from "Activate Mirrors ")
If enabled will add mirror effects (identical to what offered by the "mirror array" filter)
Feedback highly appreciated !
PS
Be aware of the very last option:
may multiply image size beyond immagination !!(if you increase the value for "Iteration", if not will "only" double or quadruplicate image size, )
###################################################################################################
#@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("<small>Author : <i>PhotoComix;</i>. Latest update : <i>2011/03/30</i>.</small>")
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
#############################################