pyrochild Posted May 7, 2009 Author Share Posted May 7, 2009 This thread seems quite old though Borders N' Shapes is actually no more v1.6 but 1.7 but I couldn't find another thread about it. You're right. Fixed. 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...
Gambo Posted May 8, 2009 Share Posted May 8, 2009 Settings will persist throughout a Paint.NET session, but will be forgotten once Paint.NET is closed. The same applies for all plugins. If you need persistence, you can create a ScriptLab script that runs Borders N' Shapes with the desired settings, and use that script to add your borders. Thanks for the hint. ScriptLab looks very promising. This brings up a follow-up-question: can I make ScriptLab remember/initially load a certain script so I don't have to click Load and search and select/open the scriptfile in each new PDN session? Edit: Ok, I think I get it. Since ScriptLab is also a plugin anything you said applies to ScriptLab as well, so this isn't possible, right? Quote Link to comment Share on other sites More sharing options...
pyrochild Posted May 9, 2009 Author Share Posted May 9, 2009 ScriptLab is a plugin that already ignores a lot of conventions and "rules" for plugins, so I could certainly add the ability to remember settings between sessions. 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...
Gambo Posted May 9, 2009 Share Posted May 9, 2009 That would save some clicks for those who use the same script every day and would definitely be great! Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 8, 2009 Author Share Posted November 8, 2009 Updated for Paint.NET v3.5. Switched to IndirectUI. 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...
GeorgeB Posted November 14, 2009 Share Posted November 14, 2009 My best guess is that this belongs in this forum, if not, let me know (and my apologies in advance). "This plugin has encountered an error and must be closed." (Details below) Paint.NET v3.5 (Final Release build 3.50.3596.41598) pyrochild.effects.REQUIRED.dll and Borders N' Shapes.dll both from pyrochild_plugins_2009-11-08r3.zip. .NET SP1. Playing with the following tutorial: viewtopic.php?f=34&t=31421&hilit=glass+border The problem occurs at the following step (2nd or 3rd step, depending on how you count): "Now select anything except the gray border (magic wand single click in the middle), Add new layer and press STRG+F to run the Tool again." I'm not positive, but relatively confident that "STRG+F" is the same as "Ctrl+F". Regardless, I also tried re-running the plugin direct from the menu (as opposed to pressing "Ctrl-F"). If I'm leaving out any info, let me know. --George Error Details: Hidden Content: File: K:\Programs2\PDN\Effects\Borders N' Shapes.dll Effect Name: pyrochild.effects.bordersnshapes.BordersNShapes Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: source.Size=(382 x 190), newSize=384,192, but the new size must be smaller at PaintDotNet.Rendering.ResizeSuperSamplingRendererBgra..ctor(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\paintdotnet\src\Core\Rendering\ResizeSuperSamplingRenderer.cs:line 254 at PaintDotNet.Rendering.RendererBgraExtensions.ResizeSuperSampling(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\paintdotnet\src\Core\Rendering\RendererBgraExtensions.cs:line 172 at PaintDotNet.Rendering.RendererBgraExtensions.ResizeSuperSampling(IRenderer`1 source, Int32Size newSize) in D:\src\pdn\paintdotnet\src\Core\Rendering\RendererBgraExtensions.cs:line 156 at PaintDotNet.Surface.FitSurface(ResamplingAlgorithm algorithm, Surface source, Rectangle dstRoi) in D:\src\pdn\paintdotnet\src\Core\Surface.cs:line 1464 at PaintDotNet.Surface.FitSurface(ResamplingAlgorithm algorithm, Surface source) in D:\src\pdn\paintdotnet\src\Core\Surface.cs:line 1505 at pyrochild.effects.bordersnshapes.BordersNShapes.OnSetRenderInfo(PropertyBasedEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs) at PaintDotNet.Effects.Effect`1.OnSetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) in D:\src\pdn\paintdotnet\src\Effects\Effect`1.cs:line 68 at PaintDotNet.Effects.Effect.SetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) in D:\src\pdn\paintdotnet\src\Effects\Effect.cs:line 140 at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 150 --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 332 at PaintDotNet.Effects.BackgroundEffectRenderer.Join() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 323 at PaintDotNet.Menus.EffectMenuBase.DoEffect(Effect effect, EffectConfigToken token, PdnRegion selectedRegion, PdnRegion regionToRender, Surface originalSurface, Exception& exception) in D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:line 1254 Quote Link to comment Share on other sites More sharing options...
pyrochild Posted November 14, 2009 Author Share Posted November 14, 2009 Thanks, I'll look into it. 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...
zoonel Posted December 5, 2009 Share Posted December 5, 2009 The plugin crashes paint.net: pyrochild_plugins_2009-11-30 Paint.NET v3.5.1 (Final Release build 3.51.3610.35022) new project-> select the tool : ok new project-> make a selection -> select the tool: crash If there is a selection it crashes, must be some bounds limits Quote Link to comment Share on other sites More sharing options...
Simon Brown Posted December 5, 2009 Share Posted December 5, 2009 I would suggest you post the crash log, but it repros for me as well. File: C:\Program Files\Paint.NET\Effects\Borders N' Shapes.dll Effect Name: pyrochild.effects.bordersnshapes.BordersNShapes Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: source.Size=(514 x 370), newSize=800,600, but the new size must be smaller at PaintDotNet.Rendering.ResizeSuperSamplingRendererBgra..ctor(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\paintdotnet\src\Core\Rendering\ResizeSuperSamplingRenderer.cs:line 254 at PaintDotNet.Rendering.RendererBgraExtensions.ResizeSuperSampling(IRenderer`1 source, Int32 newWidth, Int32 newHeight) in D:\src\pdn\paintdotnet\src\Core\Rendering\RendererBgraExtensions.cs:line 172 at PaintDotNet.Surface.FitSurface(ResamplingAlgorithm algorithm, Surface source, Rectangle dstRoi) in D:\src\pdn\paintdotnet\src\Core\Surface.cs:line 1479 at PaintDotNet.Surface.FitSurface(ResamplingAlgorithm algorithm, Surface source) in D:\src\pdn\paintdotnet\src\Core\Surface.cs:line 1504 at pyrochild.effects.bordersnshapes.BordersNShapes.OnSetRenderInfo(PropertyBasedEffectConfigToken newToken, RenderArgs dstArgs, RenderArgs srcArgs) at PaintDotNet.Effects.Effect`1.OnSetRenderInfo(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs) in D:\src\pdn\paintdotnet\src\Effects\Effect`1.cs:line 72 at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 152 --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 332 at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 301 at PaintDotNet.Effects.BackgroundEffectRenderer.Start() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 261 at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass19.<>c__DisplayClass1d.b__d() in D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs:line 736 Quote Link to comment Share on other sites More sharing options...
pyrochild Posted December 6, 2009 Author Share Posted December 6, 2009 The plugin crashes paint.net: Crashing and crashing Paint.NET are very different. One results in a loss of work and is critical to fix quickly, and one doesn't and isn't. 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...
pyrochild Posted December 6, 2009 Author Share Posted December 6, 2009 Oh, and, uh, I'll fix it. Probably tomorrow. 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...
pyrochild Posted December 6, 2009 Author Share Posted December 6, 2009 My best guess is that this belongs in this forum, if not, let me know (and my apologies in advance)."This plugin has encountered an error and must be closed." (Details below) Paint.NET v3.5 (Final Release build 3.50.3596.41598) pyrochild.effects.REQUIRED.dll and Borders N' Shapes.dll both from pyrochild_plugins_2009-11-08r3.zip. .NET SP1. Playing with the following tutorial: viewtopic.php?f=34&t=31421&hilit=glass+border The problem occurs at the following step (2nd or 3rd step, depending on how you count): "Now select anything except the gray border (magic wand single click in the middle), Add new layer and press STRG+F to run the Tool again." I'm not positive, but relatively confident that "STRG+F" is the same as "Ctrl+F". Regardless, I also tried re-running the plugin direct from the menu (as opposed to pressing "Ctrl-F"). If I'm leaving out any info, let me know. --George Error Details: Hidden Content: Fixed. The plugin crashes paint.net:pyrochild_plugins_2009-11-30 Paint.NET v3.5.1 (Final Release build 3.51.3610.35022) new project-> select the tool : ok new project-> make a selection -> select the tool: crash If there is a selection it crashes, must be some bounds limits Fixed. It was actually the same issue as above, manifesting in different ways. 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...
JBaxton30 Posted June 1, 2013 Share Posted June 1, 2013 (edited) How do you choose the location of where you want the Arc to be drawn? I'm sorry if this sounds like a stupid question, but I just recently started using PDN. Edited June 1, 2013 by JBaxton30 Quote Link to comment Share on other sites More sharing options...
pyrochild Posted March 5, 2016 Author Share Posted March 5, 2016 Borders N' Shapes is now on GitHub! It's pretty simple! https://github.com/bsneeze/pdn-bordersnshapes 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...
KetchupKid Posted June 16, 2016 Share Posted June 16, 2016 I use this plugin a lot and have donated to Pyrochild, but I have a question and maybe a request. Why does it default to Anti-aliasing of x2? I rarely if ever use anti-a;iasing but because this defaults to x2 rather than zero, I always have to remember to set it to zero before proceeding. Why x2? So my request is - can this be modified so zero is the default? Quote Ketchup Kid Link to comment Share on other sites More sharing options...
kasra Posted June 22, 2016 Share Posted June 22, 2016 how can ui install it ? Quote Link to comment Share on other sites More sharing options...
Eli Posted June 22, 2016 Share Posted June 22, 2016 (edited) Go the first post and download the plugin package. Inside the package there are several dll files. You need only the Borders N' shapes.dll file. Extract it to your desktop and then move it to the effects folder. C:\Program Files\Paint.NET\Effects Edited June 22, 2016 by Eli 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.