Guest User

Untitled

a guest
Sep 28th, 2011
484
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.26 KB | None | 0 0
  1. #@gimp Rodilius : gimp_rodilius, gimp_rodilius_preview(1)
  2. #@gimp : Orientations = int(5,2,20)
  3. #@gimp : Offset = float(30,0,180)
  4. #@gimp : Amplitude = float(10,0,30)
  5. #@gimp : Thickness = float(10,0,100)
  6. #@gimp : Sharpness = float(300,0,1000)
  7. #@gimp : Color mode = choice(1,"Darker","Lighter")
  8. #@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")
  9. #@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
  10. #@gimp : sep = separator(), note = note("<small>Authors : <i>Rod/GimpChat, David Tschumperl&#233;</i>.      Latest update : <i>2011/09/28</i>.</small>")
  11. gimp_rodilius :
  12.   -apply_channels "-_gimp_rodilius ${1-6}",$7,0
  13.  
  14. _gimp_rodilius :
  15.   -if {!$6} -negative -endif
  16.   -repeat @# -l[$>]
  17.     -repeat $1
  18.       angle={$2+$>*180/$1}
  19.       --blur_linear[0] $3%,{$3*$4/100}%,$angle,1
  20.       -blur[-1] 0.7 -sharpen[-1] $5
  21.     -done
  22.     -max[1--1] -rm[-2]
  23.   -endl -done
  24.   -if {!$6} -negative -endif
  25.  
  26. gimp_rodilius_preview :
  27.   -gimp_split_preview "-gimp_rodilius ${1--2}",$-1
Advertisement
Add Comment
Please, Sign In to add comment