Jump to content

bitchcraft

Newbies
  • Posts

    3
  • Joined

  • Last visited

bitchcraft's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

1

Reputation

  1. boltbait, thank you so much for your help, the code works perfectly now! i've donated on the codelab page, sorry i can't afford much thanks to everyone else too for your additional suggestions
  2. first off, thanks so much for your help, i really appreciate it! i've created the dll and it seems to be working properly in terms of prompting me for a colour or hex, but for some reason when i enter any value at all, it crashes immediately i'm probably just doing something stupid but i'm awful with code so if you know what it is i'm doing wrong i'd really appreciate more help :'D here's the error message: File: C:\Program Files\Paint.NET\Effects\ColourChange.dll Name: MyScriptEffect.MyScriptEffectPlugin Version: 1.0.6623.22273 Author: Copyright ©2018 by BoltBait Copyright: Fill selection with named color Website: http://www.boltbait.com/pdn Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.Exception: r is not a valid value for Int32. ---> System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at System.ComponentModel.Int32Converter.FromString(String value, NumberFormatInfo formatInfo) at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) --- End of inner exception stack trace --- at System.ComponentModel.BaseNumberConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at System.Drawing.ColorConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value) at MyScriptEffect.MyScriptEffectPlugin.Render(Surface dst, Surface src, Rectangle rect) at MyScriptEffect.MyScriptEffectPlugin.OnRender(Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.Effect`1.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) in D:\src\pdn\src\Effects\Effect`1.cs:line 98 at PaintDotNet.Effects.BackgroundEffectRenderer.RenderWithClipMask(Effect effect, EffectConfigToken token, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, IRenderer`1 clipMaskRenderer) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 170 at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderTile(EffectConfigToken token, Int32 tileIndex) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 150 at PaintDotNet.Effects.BackgroundEffectRenderer.RendererContext.RenderNextTile(EffectConfigToken token) in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 142 at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 239 --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.DrainExceptions() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 418 at PaintDotNet.Effects.BackgroundEffectRenderer.Abort() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 374 at PaintDotNet.Effects.BackgroundEffectRenderer.Start() in D:\src\pdn\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 320 at PaintDotNet.Menus.EffectMenuBase.<>c__DisplayClass42_4.<RunEffectImpl>b__4() in D:\src\pdn\src\PaintDotNet\Menus\EffectMenuBase.cs:line 982
  3. hey guys, i'm looking for a very simple plugin & i'm sure it already exists, i just can't find it. all i want is a plugin that will change an entire layer's colour to a hex/rgb code that i can input. i don't want any info on the colour changer tool or using the fill bucket, for clarification; i want a plugin that will allow me to put in a hex/rgb code and when applied will change the entire layer to said colour (other than transparent areas, obviously). thanks in advance!
×
×
  • Create New...