Jump to content

toe_head2001

Administrator
  • Posts

    5,019
  • Joined

  • Last visited

  • Days Won

    155

Everything posted by toe_head2001

  1. I suggest you do what it says: Reinstall Kris' Effects. You can download it here: https://forums.getpaint.net/topic/8375-drop-shadow-and-other-effects-krisvdms-plugin-pack-updated-2010-10-26/
  2. Please post a screenshot of that, so we can properly diagnose it.
  3. You are trying to open a file as an jpeg image, but it doesn't have a valid jpeg header. Are you sure your file wasn't give an incorrect file extension? Can you open the image with another imaging program? Such as IrfanView? Please don't forget to create backups of important data.
  4. I find it doubtful that a registry cleaning tool caused the issue. A more likely cause is that another program has registered a Global Hotkey for Ctrl+Shift+X. There's no way for us to know for sure, since we don't have access to your computer.
  5. If you're interested in some feedback for your C# code, I've made some cleanups to your code. Hopefully you'll learn something new.
  6. CodeLab has Debug Output capabilities; I suggest you use it. Click on the associated Checkbox at the bottom of CodeLab. For example, if you want to evaluate your math expressions, you can do this: void PreRender(Surface dst, Surface src) { int R = 255; float DivMult = 255 / Amount2; Debug.WriteLine("DivMult: " + DivMult); float MTR = R % (Amount2 + 1); Debug.WriteLine("MTR: " + MTR); MTR *= (float)(DivMult); Debug.WriteLine("MTR: " + MTR); int NMTR = (int)(MTR); Debug.WriteLine("NMTR: " + NMTR); R = (byte)(NMTR); Debug.WriteLine("R: " + R); }
  7. If you need to clamp the RGB values, you can do this: CurrentPixel = ColorBgra.FromBgraClamped(B, G, R, CurrentPixel.A); Or did I misunderstand your question?
  8. Well, it doesn't help that you're using a very outdated version of Paint.NET. If you're still experiencing crashing with the latest version, you need to report the crash with the associated crash log.
  9. Give this one a try: https://forums.getpaint.net/topic/113205-circular-text/
  10. @DocRoot, Sorry, no can do (in this implementation anyway). Perhaps you missed the explanation I previously posted; here is the excerpt: In essence, the AForge.NET library is processing the image, and cropping it. I have no control over that. Plus, this plugin wouldn't be able to enlarge the canvas size to accommodate the larger image. I see you gave rep points to for the workaround that I and @thejack473 talked about. I suggest you use it. Or just use PSP. Sure it's not ideal, but there's no reason you can't have more than one graphic program in your workflow. Use the right tool for the job.
  11. Ok, but that's not the same thing you said earlier. I don't care if people think I should be required to do something. I care why they think I should do something of my freewill and choice.
  12. Sorry, I have nothing to say about Window Positions, but ... Now that sounds interesting. Please start that in the Grand Theory of Everything. It could be very insightful, or at least entertaining.
  13. 1) Ctrl+Shift+F 2) Ctrl+S 3) Ctrl+Z My stopwatch clocks in at ~1.5 seconds. Some people are even faster with their keyboard. You could even create a keyboard macro do it this for you.
  14. #112 Artist: welshblue Nominated by: Red ochre "Vitamin C" - A combination of two OoTF entries
  15. Which is why I asked for examples. Assumptions are not always correct.
  16. Try running PdnRepair: OS (C:) –> Program Files –> Paint.net – scroll down to the PdnRepair.exe and run it. Also try rebooting Windows.
  17. So impatient. Try running PdnRepair: OS (C:) –> Program Files –> Paint.net – scroll down to the PdnRepair.exe and run it.
  18. Here's some commentary for the items that may not be obvious: Snippet Manager This can be accessed from the toolbar. The icon for it is on the far right. Snippets can be shared. They are Imported and Exported in the JSON format. Here's an example you can import: { "preRender": "void PreRender(Surface dst, Surface src)\r\n{\r\n $\r\n}", "dw": "Debug.WriteLine($);", "curPal": "IReadOnlyList<ColorBgra> currentPalette = Services.GetService<IPalettesService>().CurrentPalette;" } A dollar sign ($) can used to control the placement of the text caret. RadioButtonControl<TEnum> and ListBoxControlControl<TEnum> This is kind of a hidden feature, since the UI Designer doesn't generate them for you. If you want to take advantage of this feature, you just need to know it exists and how to use it. Here's an example: #region UICode RadioButtonControl<Positions> position = Positions.Center; // Image Position|On the Left|In the Center|On the Right #endregion enum Positions { Left, Center, Right } void Render(Surface dst, Surface src, Rectangle rect) { switch (position) { case Positions.Left: // Code Here break; case Positions.Center: // Code Here break; case Positions.Right: // Code Here break; } dst.CopySurface(src, rect.Location, rect); } Q. Doesn't this just add more code to my plugin, since it now has to include an extra Enum and the RadioButtonControl<TEnum> generic class? A. No. 1) CodeLab would have to generated an Enum behind-the-scenes anyway. Your user-defined Enum negates the need for CodeLab to generate one. 2) A RadioButtonControl<TEnum> generic class doesn't exist. This is implemented as "syntax sugar". When the code is compiled, RadioButtonControl<> is stripped away leaving just your enum. Argument Constraints for Generics in Tooltips Not too many of the Generics you see in CodeLab have constraints, so here's a screenshot:
  19. Yes, it is installed locally in your computer. As I said earlier, you won't be able to access a program folder for software that's installed via the Microsoft store. We have also given you instructions for installing plugins in this case. You have the information you need. Locked.
  20. So what happens when you click on that Launch button?
  21. The values are stored in the .XML file that's created when you save the preset. Or you looking for all interpolated curve values?
×
×
  • Create New...