TechnoRobbo Posted August 13, 2013 Share Posted August 13, 2013 (edited) TechnoRobbo's Film Stock Plugin v 1.2.0 A photographer often chooses his film speed to, among other things, control the contrast of the image. High ISO yield high contrast images and low ISO yield low contrast. TR's Film Stock re-interprets the image's contrast without loosing the images dynamic range. Low contrast doesn't fog the image shadows, and high contrast doesn't wash out highlights. V1.2.0 Code Updated for Speed V1.1 Updated for Paint.net 4.0 V1.0.1 same plugin different menu Menu: effects->Photo Examples Example2 sidebyside The VS Source Code The Plug-In TRsFilmStock.zip Edited December 28, 2015 by TechnoRobbo 2 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...
Red ochre Posted August 13, 2013 Share Posted August 13, 2013 I thought you were on holiday!Haven't played with this one yet - bit confused by the code - (I often am).Code looks like there should be a checkbox and an integer slider, screen shot just has int slider?Many many thanks for all the new plugins (and example code) - go and enjoy your holiday (vacation)!all the best Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
barbieq25 Posted August 14, 2013 Share Posted August 14, 2013 I like this! Quote Knowledge is no burden to carry. April Jones, 2012 Gallery My DA Gallery Link to comment Share on other sites More sharing options...
Liquify Posted August 14, 2013 Share Posted August 14, 2013 Good job again! Keep making some, you are doing great. Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted August 14, 2013 Author Share Posted August 14, 2013 (edited) Red, Yes I finished this at night in the hotel room, I used my daughters laptop , thats why the menu's purple Code looks like there should be a checkbox and an integer slider, screen shot just has int slider? the invisible checkbox is used as a global variable. it's a semaphore used to accelerate the render. The biggest issue that slows down the code is the line by line way PDN feeds the image giving the user a realtime preview and thumbnail. One of several work arounds I use is the semaphore. I couple it with a try catch(needed if user changes settings often) and a keep alive code for the ui dialog so it displays status. Note I use it with the selection and not the rect parameter. I process the whole image once and use the semaphore to ignore the subsequent calls. I use the pdnregion if I want to process only the selected pixels. If I were to remove the wrapper the code would take forever since it's calculatuing the brightest and darkest pixels. and it would scan for them on every scanline, yikes I use this wrapper for slow code: #region UICode bool Amount1 = true; // [0,1] #endregion void Render(Surface dst, Surface src, Rectangle rect) { if (Amount1){ // next two lines are necessary if you are using system graphics. Rectangle sel = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); dst.CopySurface(src, sel.Location,sel); //========================= Amount1=false; try { //your code goes here }catch(Exception e){} }else{ //======= next code is a keep alive for dialog box //so users know its working. ColorBgra CP=dst[0,0]; dst[0,0]=CP; } } Edited August 14, 2013 by TechnoRobbo 2 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...
Red ochre Posted August 14, 2013 Share Posted August 14, 2013 Hi TR,Thanks for the explanation and wrapper code example. All just a little bit clearer now! - it can be slow getting new ideas into an old head like mine. Enjoy the rest of your time off.Useful effect Btw. Thanks. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
TechnoRobbo Posted August 14, 2013 Author Share Posted August 14, 2013 Red, Your Welcome, I'm 51 BTW, and we're not fossils yet. 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...
TechnoRobbo Posted August 14, 2013 Author Share Posted August 14, 2013 (edited) wouldn't it be more @ home in Effects >>> Photo ?) Sure, if you wanna be all "logical" about it. I suppose I could skip the hotel's free Twerking lessons and update the menu. Thanks for the tip Welsh, I uploaded the change. I kept version the same since it's functionally the same program. Edited August 14, 2013 by TechnoRobbo 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...
nitenurse79 Posted August 14, 2013 Share Posted August 14, 2013 Behave Welshblue Interesting plugin TechnoRobbo. Nice share 1 Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted October 19, 2013 Author Share Posted October 19, 2013 V1.1 Updated for Paint.net 4.0 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...
Seerose Posted October 19, 2013 Share Posted October 19, 2013 (edited) TechnoRobbo! I like the color effect. Thank you so much... before... after... Edited October 19, 2013 by Seerose Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
TechnoRobbo Posted October 19, 2013 Author Share Posted October 19, 2013 (edited) Beautiful Pic. I had to download and flip between the two but I see you've richened the green hues. Edited October 19, 2013 by TechnoRobbo 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...
TechnoRobbo Posted October 25, 2013 Author Share Posted October 25, 2013 All features of the Plugin - now work with 3.511 and 4.0 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...
TechnoRobbo Posted December 18, 2013 Author Share Posted December 18, 2013 Version 1.2.0 Updated for Speed 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...
skullbonz Posted December 22, 2013 Share Posted December 22, 2013 I have been flipping between both images that Seerose posted and I can not see a difference. Even after seeing TR's reply I studied the green until my eyes hurt and still see no difference. I can definitely see the differences in TR's pics though. Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery Link to comment Share on other sites More sharing options...
TechnoRobbo Posted December 22, 2013 Author Share Posted December 22, 2013 Skull, This should help Here's an XOR of the 2 images - XORs show the difference in color - Identical details come out black. 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...
skullbonz Posted December 23, 2013 Share Posted December 23, 2013 Now you really got me scratching my head,lol Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery Link to comment Share on other sites More sharing options...
TechnoRobbo Posted December 23, 2013 Author Share Posted December 23, 2013 Skull, yes it's subtle 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...
skullbonz Posted December 23, 2013 Share Posted December 23, 2013 Lol,ok,Now I see it. Thanks for showing me the light. Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery 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.