Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #@gimp Rodilius : gimp_rodilius, gimp_rodilius_preview(1)
- #@gimp : Orientations = int(5,2,20)
- #@gimp : Offset = float(30,0,180)
- #@gimp : Amplitude = float(10,0,30)
- #@gimp : Thickness = float(10,0,100)
- #@gimp : Sharpness = float(300,0,1000)
- #@gimp : Color mode = choice(1,"Darker","Lighter")
- #@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","Red","Green","Blue","Alpha")
- #@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
- #@gimp : sep = separator(), note = note("<small>Authors : <i>Rod/GimpChat, David Tschumperlé</i>. Latest update : <i>2011/09/28</i>.</small>")
- gimp_rodilius :
- -apply_channels "-_gimp_rodilius ${1-6}",$7,0
- _gimp_rodilius :
- -if {!$6} -negative -endif
- -repeat @# -l[$>]
- -repeat $1
- angle={$2+$>*180/$1}
- --blur_linear[0] $3%,{$3*$4/100}%,$angle,1
- -blur[-1] 0.7 -sharpen[-1] $5
- -done
- -max[1--1] -rm[-2]
- -endl -done
- -if {!$6} -negative -endif
- gimp_rodilius_preview :
- -gimp_split_preview "-gimp_rodilius ${1--2}",$-1
Advertisement
Add Comment
Please, Sign In to add comment