-
Posts
5,032 -
Joined
-
Last visited
-
Days Won
155
Everything posted by toe_head2001
-
Project Templates for Visual Studio
toe_head2001 replied to toe_head2001's topic in Plugin Developer's Central
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. -
Project Templates for Visual Studio
toe_head2001 replied to toe_head2001's topic in Plugin Developer's Central
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. -
What search bar are you talking about? Can you post a screenshot of the search bar in question?
-
need psd file extension
toe_head2001 replied to nash granger's topic in Paint.NET Discussion and Questions
https://forums.getpaint.net/topic/18128-photoshop-psd-file-plugin-newest-version-250 -
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.
-
So what did the error message say?
-
What happens when you try?
-
How to Force a Single Render Call?
toe_head2001 replied to Marcsine's topic in Plugin Developer's Central
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. -
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
-
effect installed incorrectly error
toe_head2001 replied to Rickenbacker's topic in Troubleshooting & Bug Reports
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/ -
effect installed incorrectly error
toe_head2001 replied to Rickenbacker's topic in Troubleshooting & Bug Reports
Please post a screenshot of that, so we can properly diagnose it. -
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.
-
crop no longer working with [ctrl+shift+X]
toe_head2001 replied to Joey Carter's topic in Troubleshooting & Bug Reports
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. -
Image Modulo Toolkit - 10/09/2020
toe_head2001 replied to Reptillian's topic in Plugins - Publishing ONLY!
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. -
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); }
-
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.
-
Give this one a try: https://forums.getpaint.net/topic/113205-circular-text/
-
Quadrilateral Correction v1.3.1 (Dec 16, 2021)
toe_head2001 replied to toe_head2001's topic in Plugins - Publishing ONLY!
@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. -
Saving Files more quickly (Suggestion)
toe_head2001 replied to Hexcede's topic in Paint.NET Discussion and Questions
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.