TechnoRobbo Posted June 14, 2013 Share Posted June 14, 2013 The stock Posterizer appears to lack some ability to fine tune the image. So I wrote the Full Spectrum Posterizer to give the Artist a much finer level of adjustment. Menus: Color->FSPosterizer FSPost.zip Time to go all Andy Warhol on you: and for the Geeks like me The Code: Spoiler // Submenu: Color // Name: FSPosterizer // Title: Full Spectrum Posterizer - v1.0 // Author: TechnoRobbo // URL: http://www.technorobbo #region UICode int Amount1 = 128; // [1,255] Red int Amount2 = 128; // [1,255] Green int Amount3 = 128; // [1,255] Blue #endregion void Render(Surface dst, Surface src, Rectangle rect) { ColorBgra CP; ColorBgra CO; double divs; double tmp; for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { CP = src[x,y]; CO=CP; tmp=CP.R; divs=256-Amount1; CO.R=(byte)(tmp - (tmp % divs)); tmp=CP.G ; divs=256-Amount2; CO.G =(byte)(tmp - (tmp % divs)); tmp=CP.B ; divs=256-Amount3; CO.B =(byte)(tmp - (tmp % divs)); dst[x,y] = CO; } } } 1 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
DrewDale Posted June 14, 2013 Share Posted June 14, 2013 Cool Works good with bevelled text too. 1 Quote Link to comment Share on other sites More sharing options...
nitenurse79 Posted June 14, 2013 Share Posted June 14, 2013 Nice example Drew. It looks like a poster for a gangland movie Quote Link to comment Share on other sites More sharing options...
DrewDale Posted June 14, 2013 Share Posted June 14, 2013 Nice example Drew. It looks like a poster for a gangland movie Cheers Nitenurse - I have just been informed by my son that I look like 'Big Vern' from Viz comic. 1 Quote Link to comment Share on other sites More sharing options...
DrewDale Posted June 14, 2013 Share Posted June 14, 2013 Classic. Scarily you do ... just hope Sharon and Tracey don't jump on you Gawd help me if they do 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.