GIMP Chat
http://gimpchat.com/

Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.
http://gimpchat.com/viewtopic.php?f=9&t=14453
Page 2 of 2

Author:  garagecoder [ Thu Aug 25, 2016 2:28 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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.

Author:  trandoductin [ Thu Aug 25, 2016 2:30 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

Author:  garagecoder [ Thu Aug 25, 2016 2:38 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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 ;)

Author:  Rod [ Thu Aug 25, 2016 2:50 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Image

Author:  garagecoder [ Thu Aug 25, 2016 3:11 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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.

Author:  trandoductin [ Thu Aug 25, 2016 3:22 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

Author:  trandoductin [ Thu Aug 25, 2016 3:23 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Rod wrote:
[ Image ]

Woof :hehe

Author:  garagecoder [ Thu Aug 25, 2016 4:15 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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:

#@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

Author:  trandoductin [ Thu Aug 25, 2016 4:36 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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.

Author:  MareroQ [ Fri Aug 26, 2016 8:47 am ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Congratulations :bigthup

Attachments:
MT.png
MT.png [ 44.13 KiB | Viewed 1385 times ]

Author:  trandoductin [ Fri Aug 26, 2016 9:21 am ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Hurray, awesome!

Author:  Dalia [ Fri Aug 26, 2016 12:31 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

Author:  Rod [ Fri Aug 26, 2016 12:39 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Sweet!

Author:  trandoductin [ Fri Aug 26, 2016 1:05 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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.

Author:  oldmangrumpy [ Fri Aug 26, 2016 7:54 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

Image

Author:  Pat625 [ Fri Aug 26, 2016 9:03 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

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

Author:  trandoductin [ Fri Aug 26, 2016 9:33 pm ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

[ Image ]

Great you found use for Multi Threshold alone. :hi5

Author:  iarga [ Thu Sep 01, 2016 10:49 am ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

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

test:
Image

Author:  iarga [ Thu Sep 01, 2016 11:40 am ]
Post subject:  Re: Multi Threshold G'MIC plugin AKA "Pre Obama Posterize" Script.

Another one. Combined three layers with your filter :?

Image

Page 2 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/