Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.08 KB | None | 0 0
  1. #******************************************
  2. #ZONE SYSTEM
  3. #******************************************
  4.  
  5. #@gimp Zone system: gimp_zonesystem, gimp_zonesystem_preview(1)
  6. #@gimp : Shadows zone = int(1,1,5)  
  7. #@gimp : Highlights zone = int(10,6,10)
  8. #@gimp : Gamma = float(1,0,5)
  9. #@gimp : Contrast = float(1,0,4)
  10. #@gimp : Black point = int(0,0,255)
  11. #@gimp : White point = int(255,0,255)  
  12. #@gimp : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical")
  13. #@gimp : sep = separator(), note = note("<small>Author : <i>Tom Keil</i>.      Last update : <i>2011/02/13</i>.</small>")
  14.  
  15.  gimp_zonesystem :
  16.  
  17.  -repeat @# -l[$>] -to_rgb -rgb2lab -s c -n[0] {{$1-1}*10}%,{$2*10}%
  18.  -a c -lab2rgb -gimp_channel_processing $3,$4,0,0,0,0,100,256,0,0,0,2,7,0
  19.  -gimp_apply_curve 0,$5,0,$6,255,-1,128,-1,128,-1,128,255,1,7,0,0,0
  20.  -endl -done
  21.  
  22.  gimp_zonesystem_preview :
  23.   -gimp_split_preview "-gimp_zonesystem ${1--2}",$-1
  24.  
  25. #******************************************
  26. #END OF FILTER
  27. #******************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement