Jump to content

I Like Pi

Members
  • Posts

    184
  • Joined

  • Last visited

Posts posted by I Like Pi

  1. Your loop is only reading pixels from x = 0 to x = rect.Width - 1 and y = 0 to y = rect.Height - 1 (substitute the inner loop bounds and you'll see that x0 and y0 cancel). Since rect is just an arbitrary rectangle PDN uses to divide up the image*, I think you need to revisit what your loop bounds should be.

    * i.e. your program should work the same if all the rectangles were 1 x 1 or if there were only one rectangle representing the whole image.

  2. Repro steps:


    • [*:3uo9930v]Make a large image (I used 2000x2000)
      [*:3uo9930v]Zoom in as far as possible (should be 1638%)
      [*:3uo9930v]Make a rectangle or ellipse selection on the right or bottom side of the image, moving the mouse past the edge before letting go.
      [*:3uo9930v]Move the mouse back in and drag around. The selection should continue to resize. Try to cancel by pressing escape or right clicking, neither of which work.

  3. Repro steps:


    • [*:3uo9930v]Make a large image (I used 2000x2000)
      [*:3uo9930v]Zoom in as far as possible (should be 1638%)
      [*:3uo9930v]Make a rectangle or ellipse selection on the right or bottom side of the image, moving the mouse past the edge before letting go.
      [*:3uo9930v]Move the mouse back in and drag around. The selection should continue to resize. Try to cancel by pressing escape or right clicking, neither of which work.

  4. Crash log for ya. It happened while smudging; other than that, I have no clue how to reproduce this.

    Hidden Content:
    This text file was created because Paint.NET crashed.
    Please e-mail this file to crashlog@getpaint.net so we can diagnose and fix the problem.
    
    Application version: Paint.NET v3.36 (Final Release build 3.36.3158.38068)
    Time of crash: 12/26/2008 3:22:05 PM
    Application uptime: 00:07:14.2728000
    OS Version: 6.0.6001.65536 Service Pack 1 Workstation x86
    .NET version: CLR 2.0.50727.3053 x86, FX 2.0 2.0SP1 2.0SP2 3.0 3.0SP1 3.0SP2 3.5 3.5SP1 3.5SP1_Client 
    Processor: 2x "AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57" @ ~1900MHz (DEP, SSE, SSE2, SSE3)
    Physical memory: 2430 MB
    UI DPI: 96.00 dpi (1.00x scale)
    Tablet PC: no
    Updates: true, 12/22/2008
    Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US
    Features log: PopulateFonts(), UpdatesState(StartupState), UpdatesState(ReadyToCheckState), ShowDialog(PaintDotNet.SplashForm), ShowDialog(PaintDotNet.ToolsForm), ShowDialog(PaintDotNet.ColorsForm), ShowDialog(PaintDotNet.HistoryForm), ShowDialog(PaintDotNet.LayerForm), ShowDialog(PaintDotNet.MainForm), Load(PaintDotNet.JpegFileType), SetTool(PaintDotNet.Tools.PaintBrushTool), HM(NullHistoryMemento), Menu.Effects, Effect(PaintDotNet.Effects.InkSketchEffect), ShowDialog(PaintDotNet.Effects.PropertyBasedEffectConfigDialog), Effect(Pastel.PastelPlugin), Effect(PaintDotNet.Effects.PencilSketchEffect), Effect(PaintDotNet.Effects.FragmentEffect), Effect(PaintDotNet.Effects.RadialBlurEffect), Effect(EdHarvey.Edfects.Effects.SplinterEffect), ShowDialog(EdHarvey.Edfects.Effects.SplinterEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.ColorFilter2Effect), ShowDialog(EdHarvey.Edfects.Effects.ColorFilter2EffectConfigDialog), Effect(EdHarvey.Edfects.Effects.ColorFlipRotateEffect), ShowDialog(EdHarvey.Edfects.Effects.ColorFlipRotateEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.TintEffect), ShowDialog(EdHarvey.Edfects.Effects.TintEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.ChannelExtractor), Effect(EdHarvey.Edfects.Effects.FilteredBlackAndWhiteEffect), ShowDialog(EdHarvey.Edfects.Effects.FilteredBlackAndWhiteEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.InvertIntensityEffect), HM(BitmapHistoryMemento), ShowDialog(PaintDotNet.ProgressDialog), Undo, DWAction(HistoryUndoAction), Effect(EdHarvey.Edfects.Effects.PartColorEffect), ShowDialog(EdHarvey.Edfects.Effects.PartColorEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.SolarizeEffect), Effect(EdHarvey.Edfects.Effects.ThresholdEffect), ShowDialog(EdHarvey.Edfects.Effects.ThresholdEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.VitriousEffect), ShowDialog(EdHarvey.Edfects.Effects.VitriousEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.WhiteBalanceEffect), ShowDialog(EdHarvey.Edfects.Effects.WhiteBalanceEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.CrystalizeEffect), Menu.Window, Effect(EdHarvey.Edfects.Effects.DentsWarpPlusEffect), ShowDialog(EdHarvey.Edfects.Effects.DentsWarpEffectConfigDialog), Effect(EdHarvey.Edfects.Effects.DropRippleWarp), Effect(EdHarvey.Edfects.Effects.BlockWarpEffect), ShowDialog(EdHarvey.Edfects.Effects.BlockWarpEffectConfigDialog), Effect(PaintDotNet.Effects.TwistEffect), Effect(EdHarvey.Edfects.Effects.WobbleWarp), Effect(pyrochild.effects.smudge.Smudge), ShowDialog(pyrochild.effects.smudge.ConfigDialog)
    Loaded assemblies: 
       mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
       PaintDotNet, Version=3.36.3158.38068, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
       System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
       System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
       System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
       PaintDotNet.Core, Version=3.36.3158.38063, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
       PaintDotNet.Base, Version=3.36.3158.38062, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
       PaintDotNet.SystemLayer, Version=3.36.3158.38062, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
       PaintDotNet.Resources, Version=3.36.3158.38063, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
       PaintDotNet.Data, Version=3.36.3158.38064, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
       PaintDotNet.Effects, Version=3.36.3158.38065, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
       System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
       OptiPngFileType, Version=8.11.30.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\FileTypes\OptiPngFileType.dll
       "Borders N' Shapes", Version=1.7.3106.38770, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Borders N' Shapes.dll
       Color Match, Version=1.0.3106.38961, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Color Match.dll
       CurtisBlack.Common, Version=1.0.3142.30104, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Common.dll
       CurtisBlack.Effects, Version=11.0.3142.30301, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Effects.dll
       CurtisBlack.Resources, Version=1.0.3142.30103, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Resources.dll
       EdHarvey.Edfects.Common, Version=3.36.3160.38013, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EdHarvey.Edfects.Common.dll
       EdHarvey.Effects, Version=3.36.3160.38013, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EdHarvey.Effects.dll
       EOEffects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EOEffects.dll
       Film, Version=2.0.3106.38770, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Film.dll
       Gradient Bars, Version=3.0.3106.38771, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Gradient Bars.dll
       Gradient Mapping, Version=2.2.3106.38961, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Gradient Mapping.dll
       ILikePi.Effects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ILikePi.Effects.dll
       Jitter, Version=3.0.3106.38769, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Jitter.dll
       Outline Object, Version=2.6.3281.36538, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Outline Object.dll
       NewPastel, Version=1.2.3182.29587, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Pastel.dll
       pyrochild.effects.common, Version=2.0.3281.36534, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\pyrochild.effects.common.dll
       Shape3D, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Shape3D.dll
       Smudge, Version=2.0.3281.36536, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Smudge.dll
       Stitch, Version=1.0.3106.38769, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Stitch.dll
       System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll
       Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll
       System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    
    Exception details:
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
      at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
      at System.ThrowHelper.ThrowArgumentOutOfRangeException()
      at System.Collections.Generic.List`1.RemoveAt(Int32 index)
      at pyrochild.effects.smudge.SmudgeRenderer.Render()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.runTryCode(Object userData)
      at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
    ------------------------------------------------------------------------------
    This text file was created because Paint.NET crashed.
    Please e-mail this file to crashlog@getpaint.net so we can diagnose and fix the problem.
    
    Application version: Paint.NET v3.36 (Final Release build 3.36.3158.38068)
    Time of crash: 12/26/2008 3:23:50 PM
    Application uptime: 00:00:37.1124000
    OS Version: 6.0.6001.65536 Service Pack 1 Workstation x86
    .NET version: CLR 2.0.50727.3053 x86, FX 2.0 2.0SP1 2.0SP2 3.0 3.0SP1 3.0SP2 3.5 3.5SP1 3.5SP1_Client 
    Processor: 2x "AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57" @ ~1900MHz (DEP, SSE, SSE2, SSE3)
    Physical memory: 2430 MB
    UI DPI: 96.00 dpi (1.00x scale)
    Tablet PC: no
    Updates: true, 12/22/2008
    Locale: pdnr.c: en-US, hklm: en-US, hkcu: n/a, cc: en-US, cuic: en-US
    Features log: PopulateFonts(), UpdatesState(StartupState), UpdatesState(ReadyToCheckState), ShowDialog(PaintDotNet.SplashForm), ShowDialog(PaintDotNet.ToolsForm), ShowDialog(PaintDotNet.ColorsForm), ShowDialog(PaintDotNet.HistoryForm), ShowDialog(PaintDotNet.LayerForm), ShowDialog(PaintDotNet.MainForm), Load(PaintDotNet.JpegFileType), SetTool(PaintDotNet.Tools.PaintBrushTool), HM(NullHistoryMemento), Menu.Effects, Effect(pyrochild.effects.smudge.Smudge), ShowDialog(pyrochild.effects.smudge.ConfigDialog)
    Loaded assemblies: 
       mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
       PaintDotNet, Version=3.36.3158.38068, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
       System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
       System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
       System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
       PaintDotNet.Core, Version=3.36.3158.38063, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
       PaintDotNet.Base, Version=3.36.3158.38062, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
       PaintDotNet.SystemLayer, Version=3.36.3158.38062, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
       PaintDotNet.Resources, Version=3.36.3158.38063, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
       PaintDotNet.Data, Version=3.36.3158.38064, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
       PaintDotNet.Effects, Version=3.36.3158.38065, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
       System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
       OptiPngFileType, Version=8.11.30.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\FileTypes\OptiPngFileType.dll
       "Borders N' Shapes", Version=1.7.3106.38770, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Borders N' Shapes.dll
       Color Match, Version=1.0.3106.38961, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Color Match.dll
       CurtisBlack.Common, Version=1.0.3142.30104, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Common.dll
       CurtisBlack.Effects, Version=11.0.3142.30301, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Effects.dll
       CurtisBlack.Resources, Version=1.0.3142.30103, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CurtisBlack.Resources.dll
       EdHarvey.Edfects.Common, Version=3.36.3160.38013, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EdHarvey.Edfects.Common.dll
       EdHarvey.Effects, Version=3.36.3160.38013, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EdHarvey.Effects.dll
       EOEffects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\EOEffects.dll
       Film, Version=2.0.3106.38770, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Film.dll
       Gradient Bars, Version=3.0.3106.38771, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Gradient Bars.dll
       Gradient Mapping, Version=2.2.3106.38961, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Gradient Mapping.dll
       ILikePi.Effects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ILikePi.Effects.dll
       Jitter, Version=3.0.3106.38769, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Jitter.dll
       Outline Object, Version=2.6.3281.36538, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Outline Object.dll
       NewPastel, Version=1.2.3182.29587, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Pastel.dll
       pyrochild.effects.common, Version=2.0.3281.36534, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\pyrochild.effects.common.dll
       Shape3D, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Shape3D.dll
       Smudge, Version=2.0.3281.36536, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Smudge.dll
       Stitch, Version=1.0.3106.38769, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Stitch.dll
       System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\assembly\GAC_MSIL\System.Design\2.0.0.0__b03f5f7f11d50a3a\System.Design.dll
    
    Exception details:
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
      at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
      at System.ThrowHelper.ThrowArgumentOutOfRangeException()
      at System.Collections.Generic.List`1.RemoveAt(Int32 index)
      at pyrochild.effects.smudge.SmudgeRenderer.Render()
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.runTryCode(Object userData)
      at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()
    ------------------------------------------------------------------------------
    

  5. That's strange. It's trying to find PdnLib.dll, which was changed to PaintDotNet.Core.dll in version 3.05. That version was released ages before this program was created. I really have no clue why it wants the old version of the DLL.

    This is the relevant code:

    AppDomain.CurrentDomain.AssemblyResolve += delegate(object sender, ResolveEventArgs args) {
       string name = args.Name.Substring(0, args.Name.IndexOf(','));
       try {
           string dir = (string)Registry.LocalMachine.OpenSubKey("SOFTWARE").OpenSubKey("Paint.NET").GetValue("TARGETDIR");
           return Assembly.LoadFrom(Path.Combine(dir, name + ".dll"));  <--------------------------- Error here
    

    May or may not work:

    Try moving layer saver to your paint.net directory (e.g. C:\Program Files\Paint.NET, not FileTypes or Effects).

  6. What operating system are you using that doesn't already have the 2.0 .NET Framework installed?

    I'm pretty sure XP includes .NET 1.1, but not 2.0.

    Alexandrina: The 100 MB thing is the redistributable package and is not intended for average consumers. I think Windows Update has a smaller version of .NET in the optional section. If not, go here: http://www.microsoft.com/downloads/deta ... laylang=en. It's a smaller package that only downloads what you need.

  7. A software interface should never change depending on wich OS or theme you're using.
    Actually the vast majority of software tries to respect the user's theme settings in order to blend in better. For example, one of Firefox 3's major goals was for it to change its look depending on the OS it ran on. Imagine if you chose XP's olive color and Paint.NET forced everything to be blue. In my opinion, it makes perfect sense for Paint.NET to match the color settings you yourself set.
×
×
  • Create New...