Xhin Posted September 10, 2012 Share Posted September 10, 2012 I make a lot of abstract art. A problem I sometimes run into is the colors being god-awful. There's a couple tricks I've learned to fix that, for example making the piece black and white and applying http://forums.getpaint.net/index.php?/topic/25083-color-self-negation-now-v11/ or a color zoom blur to it. That can mess up the textures though, so isn't always useful. If you have that problem, this plugin will permanently fix it. Overview 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. Dominant Hue: 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: Seed Image 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. Download (V1.0) Tint-Splitter.zip Quote Link to comment Share on other sites More sharing options...
AhmedElyamani Posted September 10, 2012 Share Posted September 10, 2012 it's very useful , i liked it a lot ! 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. Ahmed. Quote Link to comment Share on other sites More sharing options...
Xhin Posted September 10, 2012 Author Share Posted September 10, 2012 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 2 Quote Link to comment Share on other sites More sharing options...
AhmedElyamani Posted September 10, 2012 Share Posted September 10, 2012 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 i know and you can do that directly in code lap btw Quote Link to comment Share on other sites More sharing options...
Xhin Posted September 10, 2012 Author Share Posted September 10, 2012 Yeah, if I can get my color-averaging script to work... Quote Link to comment Share on other sites More sharing options...
AhmedElyamani Posted September 11, 2012 Share Posted September 11, 2012 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.B)/2 ? edit that to fit your needs. Quote Link to comment Share on other sites More sharing options...
Xhin Posted September 12, 2012 Author Share Posted September 12, 2012 Yeah, but that only averages two colors together. I want to do it on a gradient, so you can go, say, 15% between #ffc00 and #195682. Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted September 12, 2012 Share Posted September 12, 2012 Off the top of my head: 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) Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Red ochre Posted September 12, 2012 Share Posted September 12, 2012 Hi Xhin, 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. eg. // 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 canvas hope that helps - I'm sure there are more correct ways of doing it, but it works for me! Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
Xhin Posted September 15, 2012 Author Share Posted September 15, 2012 Thanks Ochre, I'll maybe try to fix it once I get some free time (this weekend probably). 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.