HorridoJoho Posted January 30, 2014 Share Posted January 30, 2014 (edited) Hello, this is my second plugin for PDN. Hidden Content: Description This plugin applies an inner contour to any selected area on the layer with the primary selected color.Look at the picture and the video below to see what this plugin can do. Hidden Content: License Copyright © 2014 Christian Buckhttps://github.com/HorridoJoho/PaintDotNetPluginsThis software is provided 'as-is', without any express or implied warranty. Inno event will the authors be held liable for any damages arising from the useof this software.Paint.NET is an image editing software. The original Paint.NET software can befound at http://www.getpaint.net/. The license and copyright holders can befound at http://www.getpaint.net/license.html.1. Permission is granted to anyone to use this software in any environment,including but not necessarily limited to: personal, academic, commercial,government, business, non-profit, and for-profit, but only together withthe original Paint.NET software.2. Permission is granted to anyone to alter the sourcecode of this softwareand redistribute the sourcecode of this software, altered and unaltered, forfree. "Free" in the preceding sentence means that there is no cost or chargeassociated with getting the sourcecode of this software.3. Permission to distribute binary forms of this software, altered andunaltered, is only granted to the copyright holders of Paint.NET.4. This notice may not be removed or altered from any source distribution. Hidden Content: Globalization Fallback Language: English GlobalizationsGerman (Deutsch) Sourcecode on github: https://github.com/HorridoJoho/PaintDotNetPlugins The contents of the attached zip file go directly into the Effects folder. No more different archives for 32 & 64 bit, the one zip file should work for 32 & 64 bit. The following is a video demonstrating the plugin(Watch on youtube @ 1080p):http://www.youtube.com/watch?v=CWiy2wbHSu4 After the last changes the user interface looka like this, but functionallity is basically the same. SelectionInnerContour_master_47902c242a24f7d80c901a56bc659df55cf46759.zip Edited February 27, 2014 by HorridoJoho Quote Link to comment Share on other sites More sharing options...
BoltBait Posted January 30, 2014 Share Posted January 30, 2014 How is this different from my Selection Outline plugin: http://forums.getpaint.net/index.php?/topic/11514-x Source code is on this page: http://boltbait.com/pdn/CodeLab/help/tutorial4.php To me, it looks the same, only less features. I suggest taking a few minutes to be sure a plugin hasn't already been written before starting on one. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
HorridoJoho Posted January 30, 2014 Author Share Posted January 30, 2014 (edited) Updated: ConfigUi now features a color picker and an anti-aliasing switch. Now using GDI+ graphics to draw. @BoltBait I didn't mean to offend you. I knew about your plugin before, but i was not so happy with the performance. My implementation with a contour strength of 100 renders in under a second with anti aliasing on a 800x600 image. Your implementation with a strength of 10 renders in around 4 seconds on a 800x600 image. Edited January 30, 2014 by HorridoJoho Quote Link to comment Share on other sites More sharing options...
HorridoJoho Posted February 1, 2014 Author Share Posted February 1, 2014 (edited) Update: Now this plugin is much more advanced, but sadly only runs on PDN 4 now(the old version is still available). The reaon is the included GPC wrapper GpcDotNet. It's written in C++/CLI targeting .NET 3.5, but it automatically links to a version of mscorlib.dll which the .NET linker don't like when linking the plugin targeting .NET 3.5, so i had to switch the plugin to target .NET 4.0 and it linked. Make sure to check out the video on youtube @ 1080p. Edited February 1, 2014 by HorridoJoho Quote Link to comment Share on other sites More sharing options...
HorridoJoho Posted February 3, 2014 Author Share Posted February 3, 2014 Updated:Now it should work on PDN 3 also. The contents of the zip archive go directly into the Effects folder. Quote Link to comment Share on other sites More sharing options...
BoltBait Posted February 3, 2014 Share Posted February 3, 2014 I'm glad to see that you've brought something interesting to the table instead of just copying another plugin. It is now quite an improvement over my original. Quote Download: BoltBait's Plugin Pack | CodeLab | and a Free Computer Dominos Game Link to comment Share on other sites More sharing options...
Eli Posted February 3, 2014 Share Posted February 3, 2014 Thank you, this plugin will help me make my borders. Just a couple of requests: Is there a way to draw the contour "outside" the selected area? Could it be possible to add a feature that will allow me choose my own texture or image to create realistic frame as AKVIS Artsuit does? Thankyou again for your work. Quote Link to comment Share on other sites More sharing options...
null54 Posted February 3, 2014 Share Posted February 3, 2014 Is there a way to draw the contour "outside" the selected area? Plugins can only write within the bounds of the selection. Quote Plugin Pack | PSFilterPdn | Content Aware Fill | G'MIC | Paint Shop Pro Filetype | RAW Filetype | WebP Filetype The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait Link to comment Share on other sites More sharing options...
HorridoJoho Posted February 19, 2014 Author Share Posted February 19, 2014 (edited) Updated. * Revamped the user interface. A screenshot is included in the first post(i couldn't figure out how to use buildin controls in custom effect dialogs, so i wrote my own angle and color picker.) + Added box for custom dash style. + Added compositing mode. + Added color lists for linear and path gradient. + Added gamma correction to linear gradient brush. + Added a simple texture filling mode. Edited February 19, 2014 by HorridoJoho Quote Link to comment Share on other sites More sharing options...
HorridoJoho Posted February 20, 2014 Author Share Posted February 20, 2014 Could it be possible to add a feature that will allow me choose my own texture or image to create realistic frame as AKVIS Artsuit does? I'm sorry but i don't think this will fit inside this plugin. Quote Link to comment Share on other sites More sharing options...
Eli Posted February 20, 2014 Share Posted February 20, 2014 (edited) Hello, Thankyou for considering my request. I have no programming skills but I can say that your plugin is wonderful. In the meanwhile I created a frame with the help of your InnerContour plugin. I think that you are on the right path and perhaps another plugin will be necessary to automatize the steps. Edited February 20, 2014 by Eli Quote Link to comment Share on other sites More sharing options...
HorridoJoho Posted February 27, 2014 Author Share Posted February 27, 2014 Updated: Rotate texture at center now.Fixed compatibility issues with PDN 4 Beta. 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.