APShredder Posted August 29, 2009 Share Posted August 29, 2009 Dissolve 'Tis my first plugin! What Does It Do: It does exactly what the name implys, it dissolves one image onto another. What Does It Look Like: Screenshots: Image A --> Image B --> Final Image --> (Default settings used.) Download the DLL >> Dissolve.zip Source code (for programmers >> DissolveSRC.zip Updates: 10/1/09 - Plugin updated. Picture now changes when file path is changed. 8/29/09 - Screenshots added. 8/29/09 - Code updated with code from Simon Brown. 8/28/09 - Plugin posted. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Simon Brown Posted August 29, 2009 Share Posted August 29, 2009 Out of interest, why did you make the textbox non-ready-only? Quote Link to comment Share on other sites More sharing options...
APShredder Posted August 29, 2009 Author Share Posted August 29, 2009 I changed it to non-read-only simply for the reason that if someone wanted to enter their own path they could. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Simon Brown Posted August 29, 2009 Share Posted August 29, 2009 Currently, if an incorrect path is entered and the other control is changed, PDN crashes. Quote Link to comment Share on other sites More sharing options...
Simon Brown Posted August 29, 2009 Share Posted August 29, 2009 An alternative fix for that would be to replace: if (FileNameBox.Text == "") return; with: if (!File.Exists(FileNameBox.Text)) return; Although the new file still wouldn't just be loaded when the text is changed, to have that simply add a textchanged event to the textbox calling FinishedTokenUpdate(). Quote Link to comment Share on other sites More sharing options...
APShredder Posted August 29, 2009 Author Share Posted August 29, 2009 Ok Simon, I've update the plugin with your suggestions. Once again thanks for all the help you've put into this plugin. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
pyrochild Posted August 29, 2009 Share Posted August 29, 2009 A picture of what the plugin does would be far more useful than one of what the dialog looks like. Quote ambigram signature by Kemaru [i write plugins and stuff] If you like a post, upvote it! Link to comment Share on other sites More sharing options...
Simon Brown Posted August 29, 2009 Share Posted August 29, 2009 That's better -although it doesn't currently refresh when the path in the textbox is changed. Quote Link to comment Share on other sites More sharing options...
APShredder Posted August 29, 2009 Author Share Posted August 29, 2009 A picture of what the plugin does would be far more useful than one of what the dialog looks like. Yeah, sorry about that. I meant to do that earlier but I got sidetracked. Screenshots added. That's better -although it doesn't currently refresh when the path in the textbox is changed. Actually it does, if you play with something else in the UI first. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Simon Brown Posted August 29, 2009 Share Posted August 29, 2009 Actually it does, if you play with something else in the UI first. I know, but I was suggesting refreshing it when the textbox text is changed. Quote Link to comment Share on other sites More sharing options...
APShredder Posted August 29, 2009 Author Share Posted August 29, 2009 Not a bad idea, I'll look into it. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Boude Posted August 29, 2009 Share Posted August 29, 2009 Great fist plug-in. Quote History repeats itself, because nobody was paying attention the first time. Link to comment Share on other sites More sharing options...
APShredder Posted August 29, 2009 Author Share Posted August 29, 2009 Great fist plug-in. Yeah I think my next one will have some "kick". joke> Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
paint.net/ROCKS Posted August 30, 2009 Share Posted August 30, 2009 Nice. Many people will do need this. Quote Pawn Burger of Lasers: My Gallery Link to comment Share on other sites More sharing options...
Axle Posted September 22, 2009 Share Posted September 22, 2009 sweeeeeet Quote My Deviant Art | My Gallery Link to comment Share on other sites More sharing options...
Wilson Posted September 30, 2009 Share Posted September 30, 2009 Nice plugin APShredder! Love it. Quote Link to comment Share on other sites More sharing options...
oma Posted September 30, 2009 Share Posted September 30, 2009 congrats on your first plugin. I'm not too sure where I'll use this. but will definitely try to work in into a picture when I've time to experiment and playfully push it to boundries you don't expect. ciao OMA Quote My Deviant Art Gallery Oma's Paint.Net gallery Link to comment Share on other sites More sharing options...
APShredder Posted October 1, 2009 Author Share Posted October 1, 2009 Thanks oma! I'd be honored to have my plugin used in one of your pictures. Also, the plugin has been updated, so that the image changes when the file path is changed. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Sarkut Posted March 3, 2010 Share Posted March 3, 2010 Any chance of adding Load from Clipboard to this one? Or even better adding Dissolve as a blend mode to Blend Modes Plus? Quote Link to comment Share on other sites More sharing options...
APShredder Posted March 4, 2010 Author Share Posted March 4, 2010 I'll work on the 'Copy From Clipboard' function sometime later this week. As for adding this to BlendModes Plus, I'd have to see what I can do. Quote BlendModes Plus | Dissolve | Extract Color Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted December 9, 2016 Share Posted December 9, 2016 DLL and source code added. Links provided by ReMake. 1 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...
Maximilian Posted December 9, 2016 Share Posted December 9, 2016 Thank you both, Remake and Ego! Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 9, 2016 Share Posted December 9, 2016 This effect is essential one line of code: dst[x, y] = (rand.Next(100) < Amount) ? Image[x, y] : src[x, y]; Simple and effective. 1 Quote My Gallery | My Plugin Pack Layman's Guide to CodeLab 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.