Color > Tint-Splitter v1.0
Posted 10 September 2012 - 08:41 AM
If you have that problem, this plugin will permanently fix it.
What this plugin essentially does is it tints the image two different colors that you determine.
It does this by taking one RGB channel and shifting it to another, for example shifting green to red. This leaves a blue channel which depending on its value and the "gray" value will turn a piece a contrast of blue and yellow. You can then shift the blue to whatever color you want and the yellow to whatever color you want.
Let's look at the menu:
Shift: Which channels become equal, and what they become equal to. So for example, R --> B makes the Red channel equal to the Blue channel, with the Green channel determining the Split. In non-technical terms, you should probably play around with this if you don't like the split you're getting. R --> G seems to be the most stable.
Secondary Hue:: These determine the two hues that the image is split into.
Here are some examples, since none of my plugins make sense without them:
Default settings (R-->G, no hue changes)
Changed the dominant hue to a reddish color
Same as above, but changed the secondary color to a bluish color.
Changed the Shift to G-->R. Notice the slightly different pattern.
Tint-Splitter.zip 4.9KB 463 downloads
Posted 10 September 2012 - 02:45 PM
it'd be much more awesome if you add an ' Effect mix slider ' , it'll help me to use it to clarify some images
thanks for your effort.
Posted 10 September 2012 - 04:02 PM
1. Duplicate layer
2. Apply Tint-Splitter
3. Adjust transparency of top layer
Posted 10 September 2012 - 04:32 PM
i know and you can do that directly in code lap btw
Yeah, there's an idea. Until I do that, you could do: 1. Duplicate layer 2. Apply Tint-Splitter 3. Adjust transparency of top layer
Posted 10 September 2012 - 08:29 PM
Posted 11 September 2012 - 03:59 PM
Yeah, if I can get my color-averaging script to work...
CurrentPixel.R=(oldPixel.R+CurrentPixel.R)/2 CurrentPixel.G=(oldPixel.G+CurrentPixel.G)/2 CurrentPixel.B=(oldPixel.B+CurrentPixel.<img src='http://forums.getpaint.net/public/style_emoticons/<#EMO_DIR#>/boltbait.cool.png' class='bbc_emoticon' alt='B)' />/2
edit that to fit your needs.
Posted 12 September 2012 - 09:51 PM
Posted 12 September 2012 - 10:16 PM
New.R = Start.R - (Start.R - End.R) x 0.15
New.G = Start.G - (Start.G - End.G) x 0.15
New.B = Start.B - (Start.B - End. x 0.15
(don't quote me - test it for yourself)
Posted 12 September 2012 - 10:21 PM
I don't use hex numbers but the way I add an effect slider would be to add double slider from 0 to 1.
Then multiply the source BGRA values by this and the effect BGRA values by the inverse of it.
// psuedo code double Amount1 = 0; // [0,1] effect colour blend source colour double rat = Amount1;double irat = 1 - rat; // let B,G,R be the values you want on the dst canvas // let Bs,Gs,Rs be the src values // let Be,Ge,Re be the effect values you have created B = (int)((Bs * rat) + (Be * irat)); G = (int)((Gs * rat) + (Ge * irat)); R = (int)((Rs * rat) + (Re * irat)); // then recombine these (with A) and write to the dst canvashope that helps - I'm sure there are more correct ways of doing it, but it works for me!
Red ochre Plugin pack............................................................... Diabolical Drawings
Posted 15 September 2012 - 08:08 PM