PhotoComix

Untitled

Apr 21st, 2011
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.18 KB | None | 0 0
  1. #@gimp : 2way Contrast Mask : gimp_contrast_swm10 , gimp_contrast_swm10(0)
  2. #@gimp : sep = separator ()
  3. #@gimp : Blur the mask = float(2,0.5,10)
  4. #@gimp : sep = separator ()
  5. #@gimp : note = note ("Contrast Mask need the negative of the mask")
  6. #@gimp : SKIP to use the mask to boost = bool(false)
  7. #@gimp : note = note ("Uncheck for Contrast Mask,Check for Contrast Boost")
  8. #@gimp : sep = separator ()
  9. #@gimp : note = note("Merge the Mask")
  10. #@gimp : Intensity = float (1,0,1)
  11. #@gimp : sep = separator ()
  12. #@gimp : note = note ("To combine the new grayscale with original's hue&saturation ")
  13. #@gimp : Correct Color Shift = bool(true)
  14. #@gimp : Chose Greyscale ("Value","Luminance","Lightness")
  15. #@gimp : Correction intensity = float(1,0,1)
  16.  
  17. gimp_contrast_swm10 :
  18. -repeat @# -l[$>] -split_opacity -l[0]
  19.  
  20.  -name[-1]orig
  21.  --gimp_do_nothing
  22.  -name[-1]bg
  23.  --luminance[bg] -name[-1]fg -to_rgb[fg]
  24.   -blur_xy[FG] $1,$1
  25.   -if {$2==0} -negative[FG] -endif
  26.   -reverse[bg,fg] -gimp_compose_hardlight[bg,fg] $3
  27.   -if {$4==1 && $5==0} -gimp_compose_value $6,0
  28.   -elif {$4==1 && $5==1} -gimp_compose_luminance $6,0
  29.   -elif {$4==1 && $5==2} -gimp_compose_lightness $6,0 -endif
  30.  
  31. -endl -a c -endl -done
Advertisement
Add Comment
Please, Sign In to add comment