Popular Post toe_head2001 Posted February 26, 2015 Popular Post Share Posted February 26, 2015 Radius Corners This is an continuation of @dan9298's abandoned 'Radius Fill Corners' plugin.Effects -> Stylize -> Radius CornersFeatures Creates rounded corners on your image at an adjustable radius. Automatically sets the maximum radius size allowed (based on half the size of the shortest side of the canvas); defaults to a quarter size Fill the background with transparency or a custom color Changelog v1.6 (July 8, 2018) Improved: Better performance when increasing the Margin value Changed: Moved the Anti-aliasing button directly under the Radius slider v1.5 (Sept 10, 2016) Added: There is now an option for a margin. v1.4 (Dec 1, 2015) Fixed: The dynamic values on the Radius slider (Max & Default) now recognize selections v1.3 (Feb 28, 2015) Added: Anti-aliasing! Changed: Plugin is now called Radius Corners (the Fill function is not important enough to be in the name ) Changed: Moved to the Stylize Submenu (same reason as above) Fixed: Right and bottom edges were off by 1px v1.2 (Feb 26, 2015) Changed: Replaced the old WinForms UI with a fancy IndirectUI one Changed: Replaced the Primary Color & Secondary Color options with a Color Wheel (which defaults to the primary color) Changed: Instead of having the default Radius Size at 50, it is now set to a quarter of the size of the shortest side of the canvas New: Metadata was added for the 'Plugin Browser' v1.1 by dan9298 (Nov 21, 2008) Prevent the radius from exceeding half the size of the shortest side of the canvas v1.0 by dan9298 (Nov 9, 2008) Initial release Download RadiusFillCorners.zip Source CodeSource files and Git history 2 13 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Seerose Posted February 26, 2015 Share Posted February 26, 2015 @toe_head2001! Afterwards, with the AA Assistant, Then it looks like? 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...
midora Posted February 26, 2015 Share Posted February 26, 2015 Thanks for the effort to keep these old gadgets alive. But now we like to ge anti-aliasing for this tool ;-) Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 26, 2015 Author Share Posted February 26, 2015 Thanks for the effort to keep these old gadgets alive. But now we like to ge anti-aliasing for this tool ;-) If someone pointed me to a free code example for anti-aliasing, I be more than happy to add it. What can I say, all my coding expirience is in web development, and I just started working with C# and paint.net effects for the first time this week. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Red ochre Posted February 26, 2015 Share Posted February 26, 2015 Thanks for your hard work toe_head! Impressive C# skills.I have my own eccentric way of coding effects and you will get better advice from others. That said, I would suggest:1. Use the selection size and radius to calculate 4 circle centre PointF co-ordinates.2. Use the 'G.D.I.+' to create 4 Graphics Paths and fill them with transparent white, with the smoothing mode set to anti-alias.3. Make sure any graphics objects created are within a 'using' statement or Disposed correctly.My 'Facet' plugin uses paths herehttp://forums.getpaint.net/index.php?/topic/30133-gdi-randoms-problems/(It's not the finished code but just needed the paths outlined and the randoms to use another variable.)Or for a low tech approach to anti-aliasing my 'Squirkle' code may (or may not ) help.http://forums.getpaint.net/index.php?/topic/23194-squirkle/ Good luck! Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
toe_head2001 Posted February 28, 2015 Author Share Posted February 28, 2015 (edited) After trying a few different approaches (and failing), I was able come up with a method for doing Anti-aliasing! Take a look at the comparison images below. See first post for complete changelog and downloads. No anti-aliasing No anti-aliasing + AA's Assistant Built-in Anti-aliasing Edited March 17, 2020 by toe_head2001 Fixed broken images 2 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
midora Posted February 28, 2015 Share Posted February 28, 2015 And he did it, thanks. Quote Link to comment Share on other sites More sharing options...
Red ochre Posted February 28, 2015 Share Posted February 28, 2015 Well done! and thanks. Quote Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings Link to comment Share on other sites More sharing options...
mottoman Posted February 28, 2015 Share Posted February 28, 2015 Thank you. Good work. Quote Link to comment Share on other sites More sharing options...
racerx Posted February 28, 2015 Share Posted February 28, 2015 It works well, thanks.... Quote Link to comment Share on other sites More sharing options...
Seerose Posted March 1, 2015 Share Posted March 1, 2015 Thank you so much for the effort and plugin. 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...
toe_head2001 Posted March 2, 2015 Author Share Posted March 2, 2015 (edited) I just posted a cleaned up version of the source code to Github for anyone that's interested. Edited December 1, 2015 by toe_head2001 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
toe_head2001 Posted December 1, 2015 Author Share Posted December 1, 2015 Version 1.4 posted. The values for the Radius slider in this plugin have always been set dynamically based on the dimensions of the canvas, but now it will recognize selection dimensions. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Seerose Posted December 1, 2015 Share Posted December 1, 2015 Version 1.4 posted. The values for the Radius slider in this plugin have always been set dynamically based on the dimensions of the canvas, but now it will recognize selection dimensions. for the new version. 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...
Ilko Posted January 18, 2016 Share Posted January 18, 2016 Any chance for making this built-in antialias as a standalone effect ? I'm looking for something like the basic anti-alias plugin by pyjo but with customizable values. Feather is too agressive and blurs edges, and AAs is not effective in several cases. Scriptlab would have saved a lot of time if it was working... Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 18, 2016 Author Share Posted January 18, 2016 Any chance for making this built-in antialias as a standalone effect ? Sorry, the anti-aliasing in this effect is very low tech, and will only work in this scenario. ... I'm looking for something like the basic anti-alias plugin by pyjo but with customizable values ... Which values do want to customize? The alpha values? The add/subtract distances? Maybe post the specifics in the forum Topic for Basic Anti-aliasing plugin. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Ilko Posted January 19, 2016 Share Posted January 19, 2016 (edited) Sorry, the anti-aliasing in this effect is very low tech, and will only work in this scenario. Maybe, but this kind of what you call low tech effect is in fact what produces the most satisfying result in several contexts. Basic antialias is a great example of the simpler the better, as it provides clear cutedges where other similar plugins add blur, thus resulting in an uncomfortable squinty feel. Which values do want to customize? The alpha values? The add/subtract distances? Maybe post the specifics in the forum Topic for Basic Anti-aliasing plugin. I think it's useless to ask to Pyjo himself because he didn't show any activity since 2 years. I'm not a devlopper at all so I'm not familiar with technical terms, but settings like radius and strength are sufficient. I'm sure there is a way of performing the same effect of the « scenario » you talked about in a simple plugin. The question is, does somebody will ever make it ? If you have some advices on antialiasing methods, I'm listening. Comparison : normal / magnified Edited January 19, 2016 by Ilko Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted January 19, 2016 Author Share Posted January 19, 2016 Maybe, but this kind of what you call low tech effect is in fact what produces the most satisfying result in several contexts... For the method that this plugin is using, what other context is there? None. The Basic Antialias plugin uses a much more complex algorithm to achieve anti-aliasing. I think it's useless to ask to Pyjo himself because he didn't show any activity since 2 years. That doesn't matter. Pyjo provided the source code, therefore other people/developers have the freedom to modify it. Your best bet is to post there. I easily spotted the lines in his code that deal with the values of the Alpha Channel (what you're calling strength?). I would be willing to help, but you'd need to post over there, and define your idea of 'strength' and 'radius' (I think I understand what you mean, but I want to be sure). I'm sure there is a way of performing the same effect of the « scenario » you talked about in a simple plugin. You say you're not a developer, and yet you are sure it can be done. Hmm, arrogance and ignorance really do go hand in hand. You'll have to trust me that it will not work in other scenarios/contexts. Please don't take that as an insult; it was not meant to be. Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Ilko Posted January 19, 2016 Share Posted January 19, 2016 You say you're not a developer, and yet you are sure it can be done. Hmm, arrogance and ignorance really do go hand in hand. You'll have to trust me that it will not work in other scenarios/contexts. Please don't take that as an insult; it was not meant to be. It's okay. I've got some scripting skills, I know it's different from coding. I didn't say that it would be easy, but still, I've no doubt that it's doable for experimented devloppers. I'll post there and see what will happen. Quote Link to comment Share on other sites More sharing options...
nicksson Posted July 22, 2016 Share Posted July 22, 2016 Toe_head2001, thanks you for this great plugin! Good work! Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted September 10, 2016 Author Share Posted September 10, 2016 Version 1.5 released; see first post. @Eli requested an option for an adjustable margin, so we have that feature now. 2 Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Eli Posted September 11, 2016 Share Posted September 11, 2016 Thanks toe_head201, The addition of the adjustable margin is very welcome! Quote Link to comment Share on other sites More sharing options...
ingwer Posted May 12, 2017 Share Posted May 12, 2017 Thank you very much, toe_head for the work you put into this plugin! It's now also on YT, but in German language only, sorry (lack of time). Radius Corners on YT 3 Quote Link to comment Share on other sites More sharing options...
Seerose Posted May 15, 2017 Share Posted May 15, 2017 (edited) Dear @ingwer! I have learned much from your tutorials and videos. Excellent and very helpful. Thank you so much for your effort. *( I'll be back tomorrow to give you a reputation.) Edited May 15, 2017 by Seerose 1 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...
ingwer Posted May 16, 2017 Share Posted May 16, 2017 Thank you toe_head, eli and Seerose! You're all really kind here in this forum. 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.