lightknight Posted July 11, 2022 Share Posted July 11, 2022 Just a preview of the interface for the plugin I am working on. Is there anything else I should add in before (re-)wiring it up? Image 1 Quote Link to comment Share on other sites More sharing options...
lightknight Posted July 11, 2022 Author Share Posted July 11, 2022 Image 2 Quote Link to comment Share on other sites More sharing options...
lightknight Posted July 11, 2022 Author Share Posted July 11, 2022 Image 3 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted July 11, 2022 Share Posted July 11, 2022 12 minutes ago, lightknight said: ...before (re-)wiring it up? A lot of this stuff can't be "wired up". Please read: https://forums.getpaint.net/topic/14566-what-is-and-isnt-possible-when-writing-plugins/ Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
lightknight Posted July 11, 2022 Author Share Posted July 11, 2022 Well...what exactly do you think can't be wired up? I've got a lot of it working in hard-coded bits and pieces...and the rest, I like to think is doable. But I am new to this. So, if you can tell me what I shouldn't waste my time on, I'll greatly consider it. 😉 Quote Link to comment Share on other sites More sharing options...
toe_head2001 Posted July 11, 2022 Share Posted July 11, 2022 21 minutes ago, lightknight said: what exactly do you think can't be wired up? Looks like you're trying to manipulate the selection. For example, in your image I see: "Change Selection Angle" Quote (September 25th, 2023) Sorry about any broken images in my posts. I am aware of the issue. My Gallery | My Plugin Pack Layman's Guide to CodeLab Link to comment Share on other sites More sharing options...
Rick Brewster Posted July 12, 2022 Share Posted July 12, 2022 You didn't even give a description of what the plugin is supposed to do Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
lightknight Posted July 12, 2022 Author Share Posted July 12, 2022 Oh. Well, suppose you had an image of your grandparents, but someone botched the image by attempting to make things look older by blending a transparent white layer on top of the original image (a fade effect); or if you had an image of a beautiful afternoon sunset, but someone applied a transparent black layer on top of the original image (to make it seem darker). My plugin, if you dial in the proper settings, and play with the Opacity Calculation (until it looks right per your tastes), will attempt to calculate the original colors, and render them. But it's never that simple. There are artifacts from scanning images that are introduced by the scanning process itself...etc. Hence the extra settings. Quote Link to comment Share on other sites More sharing options...
lightknight Posted July 12, 2022 Author Share Posted July 12, 2022 Ah, when I say selection there, I mean the selection inside the selection. See, I change the Alpha value of the pixels I wish to modify to 100, via another plugin prior to running it through this one. My plugin detects those pixels, provided they are found within the selected area (this selection here being the normal Paint.Net one), gathers them up in a list...and I modify them according to the various settings. Hence the need to shade my selection blue, so I can see which pixels are selected during the preview. Final Render disables that shading. Or you can just skip modifying those pixels' Alpha values, and have the plugin apply its changes through the regular Paint.Net selection. It's a hack, because we can't add to / modify the selection tools that Paint.Net comes with. 🙂 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.