Jump to content

AMDGD

Newbies
  • Posts

    2
  • Joined

  • Last visited

Posts posted by AMDGD

  1. First time post here. I hope this is the correct place to bring this up.

    I used the palettetoimage effect in Paint.Net 3.36 and it worked just fine. In the 3.5 version it generated a "Plugin Error". It went through the process of generating a palette (the status bar works) but it failed at the end with this message:

    File: C:\Program Files\Paint.NET\Effects\PaletteFromImage.dll

    Effect Name: PaletteFromImage.SavePalette

    Full error message: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.InvalidOperationException: Cross-thread operation not valid: Control 'frmSavePalette' accessed from a thread other than the thread it was created on.

    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

    at System.Windows.Forms.Application.ModalApplicationContext.DisableThreadWindows(Boolean disable, Boolean onlyWinForms)

    at System.Windows.Forms.Application.ThreadContext.BeginModalMessageLoop(ApplicationContext context)

    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)

    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)

    at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)

    at PDNPalette.PaletteHandler.SavePalette(ColorPalette PaletteToSave, Boolean UseDefaultName)

    at PaletteFromImage.SavePalette.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length)

    at PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois) in D:\src\pdn\paintdotnet\src\Effects\Effect.cs:line 163

    at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() in D:\src\pdn\paintdotnet\src\PaintDotNet\Effects\BackgroundEffectRenderer.cs:line 158

    --- 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.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

×
×
  • Create New...