Jump to content

toe_head2001

Administrator
  • Posts

    5,032
  • Joined

  • Last visited

  • Days Won

    155

Everything posted by toe_head2001

  1. You just double click on the .vsix file, and it will install the templates into Visual Studio. I don't think I bothered with marking it as compatibility with VS 2017, but support can easily be added. Why are you not using 2019? Surely the screenshot in the first post is sufficient. There's not much else to show. Although, yes, it does look different in 2017 compared to 2019. Just create a new project in VS, and select one of the listed Paint.NET templates.
  2. I found the motivation to work on this again tonight. null54 extended the PropertyBasedFileType into a working file type, and I implemented FileType<TTokin, TWidget> & FileType based on his work. See the first post for an updated VSIX package. I really need some plugin authors to test these out. Once they're polished up, I'd like to publish the package on the Visual Studio Marketplace. The Marketplace makes it easy to find, install, and update VSIX packages.
  3. What search bar are you talking about? Can you post a screenshot of the search bar in question?
  4. Use this utility to remove the broken installation: https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed Afterwards, you can install paint.net anew.
  5. https://forums.getpaint.net/topic/18128-photoshop-psd-file-plugin-newest-version-250
  6. You tell us. What's confusing about them? The Paint.NET user manual can be found here: https://www.getpaint.net/doc/latest/ The paint.net domain is owned by Warren Paint & Color Co. , and are unwilling to sell it. That's up to you. We won't stop you.
  7. Also keep in mind you have to resort to building a DLL to get 'Single Render Call'. You can force CodeLab to run with 'Single Render Call', so you can have the feature while you're developing your code.
  8. Well, you decide which color is the source and which is the destination. The Screen blend mode uses a totally different algorithm, and is not involved in the code I posted.
  9. Here's the function for Overlay blend, with your example values: ColorBgra lhs = ColorBgra.FromBgr(153, 141, 122); ColorBgra rhs = ColorBgra.FromBgr(0, 0, 0); byte r = lhs.R < 128 ? Int32Util.ClampToByte(2 * rhs.R * lhs.R / byte.MaxValue) : Int32Util.ClampToByte(byte.MaxValue - 2 * (byte.MaxValue - rhs.R) * (byte.MaxValue - lhs.R) / byte.MaxValue); byte g = lhs.G < 128 ? Int32Util.ClampToByte(2 * rhs.G * lhs.G / byte.MaxValue) : Int32Util.ClampToByte(byte.MaxValue - 2 * (byte.MaxValue - rhs.G) * (byte.MaxValue - lhs.G) / byte.MaxValue); byte b = lhs.B < 128 ? Int32Util.ClampToByte(2 * rhs.B * lhs.B / byte.MaxValue) : Int32Util.ClampToByte(byte.MaxValue - 2 * (byte.MaxValue - rhs.B) * (byte.MaxValue - lhs.B) / byte.MaxValue); ColorBgra overlayColor = ColorBgra.FromBgr(b, g, r); More here: https://github.com/toehead2001/pdn-blendmodes-plus/blob/master/BlendModesPlus/EffectPlugin.cs#L589
  10. 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/
  11. Please post a screenshot of that, so we can properly diagnose it.
  12. 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.
  13. 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.
  14. 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.
  15. 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); }
  16. 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?
  17. 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.
  18. Give this one a try: https://forums.getpaint.net/topic/113205-circular-text/
  19. @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.
  20. 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.
  21. 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.
  22. 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.
×
×
  • Create New...