Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 2:28 pm

It'll be as simple as messaging David, he's bound to be pleased to have more contributors :jumpclap

The only downside is he's possibly on holidays right now. I could add it to my own filter list but that's a bad solution, it means any updates rely on me being around (and I'm supposed to be doing other things!). Plus I really don't want to take credit for your work.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 2:30 pm

take credit for the awesome rewritten version... as long as it's in there I am happy.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 2:38 pm

OK then, the plan is to add on my list then get it moved out at a later date. I'll put your name on the filter itself. Just so long as you're aware I'm likely to not be around - if you change your mind send me a message!

Back shortly after it's done ;)

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 2:50 pm

Image

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 3:11 pm

OK for some reason I couldn't push using git, had to edit on github directly. Anyway it should be available under Testing > Garagecoder after filter refresh in around an hour (think the update cycle is every 2 hours). Will check back later in case of problems.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 3:22 pm

Awesome, CAN'T WAIT to see it in there so people can just refresh and see it.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 3:23 pm

Rod wrote:[ Image ]

Woof :hehe

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 4:15 pm

Well either it's going to be another hour or something is broken. Here's the version I've added in case it doesn't work:

Code:
#@gimp Multi Thresholds : tran_multi_threshold, tran_multi_threshold(1)
#@gimp : note = note("<i>Apply color to selectable tones</i>"), sep = separator()
#@gimp : Threshold_1 = int(50,0,255)
#@gimp : Threshold_2 = int(100,0,255)
#@gimp : Threshold_3 = int(150,0,255)
#@gimp : Threshold_4 = int(200,0,255)
#@gimp : 1st color = color(9,0,1)
#@gimp : 2nd color = color(175,42,27)
#@gimp : 3rd color = color(101,101,101)
#@gimp : 4th color = color(174,165,131)
#@gimp : 5th color = color(247,228,160)
#@gimp : sep = separator(), note = note("<small>Author : <i>trandoductin</i>.      Latest update : <i>2016/08/25</i>.</small>")
tran_multi_threshold : -skip ${1=50},${2=100},${3=150},${4=200}
  -repeat $! -l[$>]
    -split_opacity --rgb2ycbcr[0] -channels. 0 -fc[0] ${5-7}
    --fc[0] ${8-10} --ge[-2] $1 -j[0] [-2],0,0,0,0,1,[-1] -rm[-2,-1]
    --fc[0] ${11-13} --ge[-2] $2 -j[0] [-2],0,0,0,0,1,[-1] -rm[-2,-1]
    --fc[0] ${14-16} --ge[-2] $3 -j[0] [-2],0,0,0,0,1,[-1] -rm[-2,-1]
    --fc[0] ${17-19} --ge[-2] $4 -j[0] [-2],0,0,0,0,1,[-1] -rm[-2,-1]
    -rm. -a c
  -endl -done

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Aug 25, 2016 4:36 pm

cool editable colors...
I was trying that yesterday but didn't know that you have to specify 5-7 and so on. Nice additional features for sure.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 8:47 am

Congratulations :bigthup

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 9:21 am

Hurray, awesome!

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 12:31 pm

I have Partha's version of Gmic; will it still work?

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 12:39 pm

Sweet!

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 1:05 pm

Dalia wrote:I have Partha's version of Gmic; will it still work?

I have no idea, does it have a refresh button like Windows version that grabs updates from internet? just try it.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 7:54 pm

Nice one Tin & Garagecoder; thank you both ... :clap

Image

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 9:03 pm

Great Tran! I'll have to check that now.

OMG: That is very nice. Different. Have not seen something like that before.

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Fri Aug 26, 2016 9:33 pm

oldmangrumpy wrote:Nice one Tin & Garagecoder; thank you both ... :clap

[ Image ]

Great you found use for Multi Threshold alone. :hi5

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Sep 01, 2016 10:49 am

Thank you Trandoductin (it works after refresh). Please, make more filters for G'MIC (under your own test account) . :bigthup

test:
Image

Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Thu Sep 01, 2016 11:40 am

Another one. Combined three layers with your filter :?

Image
Post a reply