|
GimpChat Member |
Joined: Oct 11, 2014 Posts: 82
|
in my python script when execute: pdb.plug_in_gmic(timg, (timg.layers[0]), 2, "-gimp_LCE 80,0.5,0.5,0.5,3,0")
i can see a progress bar: Attachment:
progress.jpg [ 39.65 KiB | Viewed 2752 times ]
instead with the code, eg: pdb.plug_in_gmic(timg, (timg.layers[0]), 2, "-apply_parallel \"-to_rgb --gimp_gradient_norm[0] 0,1.5,0,50.38,1,0 [0] -smooth 8,0.2,1,3,3 -b 0.8 -sharpen 450 [0] -r[0] 20,20,1,3,2 -equalize[0] 256,0%,98% -index[3] [0],1,1 -rm[0] -rv[0,1] -blend[0,1] multiply,1 -normalize[0] 5,250 -autoindex[0] 21,0.1 -rv[0,1] -blend[0,1] value,1 \" ")
there is no progress bar. I had a look at -gimp_LCE code but does not seem to have any reference to the progress bar. Can I have a progress bar also in my custom code? How? thanks. console log: [gmic]-18./ Start G'MIC interpreter. [gmic]-18./gimp_LCE/apply_channels/ Apply command '-_gimp_LCE 80,0.5,0.5,0.5' on luminance Y of images [0,1,2,..,15,16,17]. [gmic]-18./ End G'MIC interpreter. [gmic]-18./ Start G'MIC interpreter. [gmic]-18./ Execute command '-apply_gamma[0] 1.2 -cut[0] 0.0,200.0 -normalize[0] 0,255 -split[0] c -apply_gamma[0] 0.9 -apply_gamma[1] 1.0 -apply_gamma[2] 1.0 -append[0,1,2] c -bilateral 1.2,1.2' on all images [0,1,2,..,15,16,17] in parallel, using 4 threads. [gmic]-18./ End G'MIC interpreter. [gmic]-18./ Start G'MIC interpreter. [gmic]-18./ Execute command '-to_rgb --gimp_gradient_norm[0] 0,1.5,0,50.38,1,0 [0] -smooth 8,0.2,1,3,3 -b 0.8 -sharpen 450 [0] -r[0] 20,20,1,3,2 -equalize[0] 256,0%,98% -index[3] [0],1,1 -rm[0] -rv[0,1] -blend[0,1] multiply,1 -normalize[0] 5,250 -autoindex[0] 21,0.1 -rv[0,1] -blend[0,1] value,1 ' on all images [0,1,2,..,15,16,17] in parallel, using 4 threads. [gmic]-18./ End G'MIC interpreter
|
|