Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #@gimp : 2way Contrast Mask : gimp_contrast_swm10 , gimp_contrast_swm10(0)
- #@gimp : sep = separator ()
- #@gimp : Blur the mask = float(2,0.5,10)
- #@gimp : sep = separator ()
- #@gimp : note = note ("Contrast Mask need the negative of the mask")
- #@gimp : SKIP to use the mask to boost = bool(false)
- #@gimp : note = note ("Uncheck for Contrast Mask,Check for Contrast Boost")
- #@gimp : sep = separator ()
- #@gimp : note = note("Merge the Mask")
- #@gimp : Intensity = float (1,0,1)
- #@gimp : sep = separator ()
- #@gimp : note = note ("To combine the new grayscale with original's hue&saturation ")
- #@gimp : Correct Color Shift = bool(true)
- #@gimp : Chose Greyscale ("Value","Luminance","Lightness")
- #@gimp : Correction intensity = float(1,0,1)
- gimp_contrast_swm10 :
- -repeat @# -l[$>] -split_opacity -l[0]
- -name[-1]orig
- --gimp_do_nothing
- -name[-1]bg
- --luminance[bg] -name[-1]fg -to_rgb[fg]
- -blur_xy[FG] $1,$1
- -if {$2==0} -negative[FG] -endif
- -reverse[bg,fg] -gimp_compose_hardlight[bg,fg] $3
- -if {$4==1 && $5==0} -gimp_compose_value $6,0
- -elif {$4==1 && $5==1} -gimp_compose_luminance $6,0
- -elif {$4==1 && $5==2} -gimp_compose_lightness $6,0 -endif
- -endl -a c -endl -done
Advertisement
Add Comment
Please, Sign In to add comment