Jump to content

BoltBait

Administrator
  • Posts

    15,651
  • Joined

  • Last visited

  • Days Won

    390

Everything posted by BoltBait

  1. If only we could specify an icon with codelab... Hmmm... I'm going to have to look at the source code for that thing...
  2. BTW, you can read more about the plugin here: http://forums.getpaint.net/index.php?/topic/32048-v Enjoy.
  3. Look on your desktop for a file called pdncrash.log Post the contents of that file here on this thread.
  4. Have you followed these instructions... http://paintdotnet.12.forumer.com/viewtopic.php?t=36
  5. Well, Illnab1024 and I made a grid plug-in. Have you tried that? http://paintdotnet.12.forumer.com/viewtopic.php?t=2302 Just put the grid on its own layer and delete it when your picture is done. It won't "snap" drawings, but it should help you line things up.
  6. I can not pick more than one OS. I use both Windows XP and Windows Server 2003. Does it matter with XP if it is home or pro? If so, I use 'pro'. On a side note: I sooooo wish I could drop 9x, 2K, and XP You know, Rick, you could just send the Current OS along with the request for update inside of the Paint.net updater... (It wouldn't be right, but you could do it.)
  7. No, there is no way around it. Just use .pdn for archival purposes and .jpg or .gif for publishing. Seriously, that's the way everyone does it.
  8. Yes. Run Paint.net. As soon as the red X appears, click it. This text file was created because Paint.NET crashed. Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem. Application version: Paint.NET v3.0 (Milestone 2 Release build 3.0.2472.34062) Time of crash: 10/10/2006 4:29:19 PM Application uptime: 00:00:01.1416416 OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86 .NET Framework version: 2.0.50727.42 x86 Processor: 1x Intel(R) Pentium(R) M processor 1500MHz Physical memory: 510 MB Locale: Setting: --CI.CC: en-US, CC.CUIC: en-US Exception details: System.InvalidOperationException: Dispose() was called on a thread other than the one that this object was created on at PaintDotNet.SystemLayer.ThreadBackgroundMode.Dispose(Boolean disposing) at PaintDotNet.SystemLayer.ThreadBackgroundMode.Finalize() ------------------------------------------------------------------------------ "Dispose() was called on a thread other than the one that this object was created on"? Interesting...
  9. Which build is that? This text file was created because Paint.NET crashed. Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem. Application version: Paint.NET v3.0 (Milestone 2 Release build 3.0.2472.34062) Time of crash: 10/10/2006 2:14:34 PM Application uptime: 00:00:19.5979851 OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86 .NET Framework version: 2.0.50727.42 x86 Processor: 1x Intel(R) Pentium(R) M processor 1500MHz Physical memory: 510 MB Locale: Setting: --CI.CC: en-US, CC.CUIC: en-US Exception details: System.InvalidOperationException: Dispose() was called on a thread other than the one that this object was created on at PaintDotNet.SystemLayer.ThreadBackgroundMode.Dispose(Boolean disposing) at PaintDotNet.SystemLayer.ThreadBackgroundMode.Finalize() ------------------------------------------------------------------------------ Because I think it just happened again.
  10. Ouch! I could feel that one from here. Well, I give my input for free... and I'm sure it's worth every penny.
  11. I would find it very useful if there was a checkbox (or something) that I could use to keep the compiler from starting automatically when I pause typing. Actually, the compiler is fine, but could the effect not be RUN until I press a button? There are times when it would be useful to not run the effect until I press the Build button. It would be useful if when the user presses the Build DLL button it asked for an icon file to be included in the effects menu. It might be more helpful if the default text in the edit window were like this: void Render(Surface dst, Surface src, Rectangle rect) { PdnRegion selectionRegion = EnvironmentParameters.GetSelection(src.Bounds); Rectangle selection = this.EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); long CenterX = (long)(((selection.Right - selection.Left) / 2)+selection.Left); long CenterY = (long)(((selection.Bottom - selection.Top) / 2)+selection.Top); ColorBgra CurrentPixel; ColorBgra PrimaryColor = (ColorBgra)EnvironmentParameters.PrimaryColor; ColorBgra SecondaryColor = (ColorBgra)EnvironmentParameters.SecondaryColor; for(int y = rect.Top; y { for (int x = rect.Left; x { if (selectionRegion.IsVisible(x, y)) { CurrentPixel = src[x,y]; // TODO: Add pixel processing code here // Access RGBA values this way, for example: // CurrentPixel.R = (byte)PrimaryColor.R; // CurrentPixel.G = (byte)PrimaryColor.G; // CurrentPixel.B = (byte)PrimaryColor.B; // CurrentPixel.A = (byte)PrimaryColor.A; dst[x,y] = CurrentPixel; } } } } Also, as someone else mentioned, it would be really handy if when you load a .cs file, the name box would be populated with the name of the file. Finally, codelab needs a horizontal scroll bar on the error messages window. I know that when you click on the error message it shows the full text in a tooltip, but the tooltips are being shown *below* the codelab window, so you can't always read the message. Thanks!
  12. No, but I have some more ideas... stay tuned.
  13. Here is a screenshot of the issue: I had something in the copy buffer and had just closed the only canvas. I expected "Paste" to paste into a new canvas. It didn't do anything. But, hey! At least it didn't crash!
  14. Here is a picture of the issue: The effect should be constrained to the current selection. However, the center of the effect is still the center of the whole image. This is the same with Polar Inversion and Twist. (Could be Tile as well, but I couldn't tell with my grid image.) Without being able to constrain the effect to the current selection, it is fairly useless.
  15. Try this: http://paintdotnet.12.forumer.com/viewtopic.php?t=1710
  16. Step 1: Convert picture to JPG Step 2: Upload as normal.
  17. Perhaps if Rick setup a redirector like: http://www.getpaint.net/plugins Or, something like that.
  18. UI = User Interface. Basically, it is the dialog box that asks you questions like, grid size, etc. then applys the effect when you press the OK button. It also includes things like the icon and name you see in the effects menu. EDIT: OK, Illnab1024 finished putting the polish on it. You can download the effects dll here: http://paintdotnet.12.forumer.com/viewtopic.php?t=2302
  19. Illnab1024, thanks for the email. (He sent me the conversion routines from the PdN source.) That should be enough to get me going.
  20. Rick, Currently, when writing an effect, we have access to the RGB and A values for the current pixel and the primary/secondary colors, like this: CurrentPixel.R = (byte)PrimaryColor.R; CurrentPixel.G = (byte)PrimaryColor.G; CurrentPixel.B = (byte)PrimaryColor.B; CurrentPixel.A = (byte)PrimaryColor.A; Could we also have access to get/set the H, S, and V values of those objects? Or, as a workaround, is there a function I can call, within a codelab script, that will convert between RGB and HSV (both directions)? Thanks.
  21. Haha. Thanks. Now that I know what I'm doing, more effects on the way.
×
×
  • Create New...