 |
| GimpChat Member |
Joined: Oct 11, 2014 Posts: 82
|
the original code is: #@gui Zone system : fx_zonesystem, fx_zonesystem_preview(1) #@gui : Shadows zone = int(1,1,5) #@gui : Highlights zone = int(10,6,10) #@gui : Gamma = float(1,0,5) #@gui : Contrast = float(1,0,4) #@gui : Black point = int(0,0,255) #@gui : White point = int(255,0,255) #@gui : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate top","Duplicate left","Duplicate bottom","Duplicate right") #@gui : sep = separator(), note = note("<small>Author : <i>Tom Keil</i>. Latest update: <i>2011/13/02</i>.</small>") fx_zonesystem : -repeat $! -l[$>] -to_rgb -rgb2lab -s c -n[0] {{$1-1}*10}%,{$2*10}% -a c -lab2rgb -tk_fx_channel_processing $3,$4,0,0,0,0,100,256,0,0,0,2,7,0 -fx_apply_curve 0,$5,0,$6,255,-1,128,-1,128,-1,128,255,1,7,0,0,0 -endl -done fx_zonesystem_preview : -gui_split_preview "-fx_zonesystem ${1--2}",$-1
the -tk_fx_channel_processing is the problem. Replaced with fx_channel_processing: Mc Zone system #@gui Mc Zone system : mc_fx_zonesystem, mc_fx_zonesystem_preview(1) #@gui : Shadows zone = int(1,1,5) #@gui : Highlights zone = int(10,6,10) #@gui : Contrast = float(0,-100,100) #@gui : Gamma = float(0,-100,100) #@gui : Black point = int(0,0,255) #@gui : White point = int(255,0,255) #@gui : sep = separator(), Preview type = choice("Full","Forward horizontal","Forward vertical","Backward horizontal","Backward vertical","Duplicate top","Duplicate left","Duplicate bottom","Duplicate right") #@gui : sep = separator(), note = note("<small>Author : <i>Tom Keil mod by Telperion</i>. Latest update: <i>2017/22/10</i>.</small>") mc_fx_zonesystem : -repeat $! -l[$>] -to_rgb -rgb2lab -s c -n[0] {{$1-1}*10}%,{$2*10}% -a c -lab2rgb -fx_channel_processing 0,$3,$4,0,0,0,100,256,0,0,0,2,0,0 -fx_apply_curve 0,$5,0,$6,255,-1,128,-1,128,-1,128,255,1,7,0,0,0 -endl -done mc_fx_zonesystem_preview : -gui_split_preview "-mc_fx_zonesystem ${1--2}",$-1
and now contrast and gamma works as expected. Attachment:
zonemod.jpg [ 52.07 KiB | Viewed 4098 times ]
|
|