Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. #@gimp Tom : tom, tom
  2. #@gimp : picture style = choice("subtle","extreme")
  3. #@gimp : Amplitude = float(0.3,0,5)
  4. tom :
  5.   -to_rgb -rgb2lab                                  # Convert all layers to Lab (no transparency !)
  6.   -repeat @#                                        # Loop over all layers
  7.     -s[-1] c                                        # Split last image as 3 new channel images.
  8.     -if $1 -normalize_local[-3] $2,6.00,5.00,1.00   # Act on luminance only.
  9.     -else -map_tones[-3] $2 -endif
  10.     -a[-3--1] c                                     # Append single channel images into a Lab image.
  11.   -mv[-1] 0 -done                                   # Prepare loop for next layer.
  12. -lab2rgb                                            # Convert back all layers to RGB.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement