-
Posts
167 -
Joined
-
Last visited
-
Days Won
7
Posts posted by KrisVDM
-
-
Believe me, I share your pain...1. Lack of drop-shadow-color-picker. It was oh-so-useful, but I read your post earlier and now we're probably not going to be able to get it. RIP color picker...RIP.
See point 1. You need to set the "paper color" using the colors window before applying the adjustment. The same is true for several other ones. Read the summary descriptions on my blog again.2. "Grayscale on Color Paper" just makes my image black. I'm a little confused as to how this is supposed to work...? I tried it on a straight photo.
Well, their point is in the source code. What I really wanted to do is create a framework for others to write effects more easily. And so I included some very simple samples. But you're absolutely correct: to an end user they're completely pointless.3. A few of the adjustments seem to be pointless. I'm thinking in specific of "Darken", "Lighten", and "Negative". This seems like something we could do ourselves pretty easily unless I'm missing something...
See point 2 above. Note that the duotone ones need two colors. I personally think that the "duotone ink on paper" is one of the most useful ones in the lot (together with the drop shadow and the smart blur - that works miracles on scanned images from magazines and such).4. The "Duotone" and "Monotone" effects just seem to make my image grayscale...I'm guessing there's more to these effects than I get at the moment.
Well' date=' its a blur that averages all pixels within a certain radius, where each pixel counts as much as any other pixel. In a Gaussian blur, the center pixels have much more weight than the further ones. But the truth is, I needed this blur for the drop shadow and since I had it anyway, I just made it available by itself as well.5. "Average Blur"? I don't get it... :?
It's strange how these things go... To me, that was one in the very simple sample code category.6. "Fade Edge" = Awesome! I've been wanting something like that for a while!
No idea. What's surface blur?7. "Smart Blur" looks very similar to "Surface Blur"...what is the difference?
Point taken. Expect an update in a few days that will fix this.8. I also wanted to re-iterate everyone else in saying that the submenus look a little weird...I don't have a constructive suggestion for what to do though. Sorry. :?
Point taken too. See point 8.9. I know you've explained how to re-compile your effects into separate dlls already, but...por favor?
Thank you for the constructive feedback. I did this as an experiment, to play with all kinds of C# 3.0 stuff. But it's nice to here people actually like (some of the) results.All in all, a good addition! My comments are merely suggestions, nothing more. Thanks for making all this stuff for us, I appreciate it! -
Indeed, delete the files in the demo folders (and in those only!) for the effects you don't need from the project, or edit the .csproj file directly.Anyways, I'm going through the source, I presume to remove effects you simply delete the .cs for it, correct?Also, where I can change the sub-menu's for these effects, I'm looking through the code and there are so many mentions of what the sub-menu is called I have no idea how to change it.
To change a submenu, modify the third parameter in the constructor call. For example, change
public SmartBlurEffect() : base("Smart Blur", Resources.SmartBlurImage, "Smart Effects", EffectFlags.Configurable)
to
public SmartBlurEffect() : base("Smart Blur", Resources.SmartBlurImage, "Blurs", EffectFlags.Configurable)
Kris.
-
All colors in all effects are controlled by using the colors window before starting the effect/adjustment. That applies to the shadow color too.
I did it that way for a number of reasons: it's in line with the built-in effects; the colors window is more powerful than anything I can provide in the dialogs, IndirectUI doesn't support it and the dialog box for the drop shadow had become big enough already with the new widening radius. I guess the lack of support by IndirectUI is the killer argument here. Rick?
About the submenus: you do have a point and I did consider placing the effects "where they belong". Their are pro's and con's either way. At least this way the demo adjustments don't clutter your adjustments menu. If you're a developer, feel free to change the source code to move the effects around or remove the ones you don't like, just don't redistribute the modified source or binary.
And about the "smart" thingy: the base classes needed a name, and in a way, they are "smart" in the sense they do take away a lot of the programming complexity. But I guess I got my inspiration from Jan Tielens' SmartPart.
Kris.
- 1
- 3
-
I've created to framework to ease the development of effects for Paint.NET. It comes with full source code and 13 demo effects, including a new and more powerful version of my earlier drop shadow effect, two duotones and a smart blur.
Read all about it, or download the effects via my blog at http://www.u2u.info/Blogs/Kris/.
Enjoy.
Kris Vandermotten
-
- Popular Post
- Popular Post
UPDATE:
In version 5, two new adjustments have been added: Monochrome Recolor and Duotone Recolor.
All adjustments and effects have significant performance improvements.
Version 5.0.4 - 5.0.5 :
Performance improvements in the DropShadow effect and Make Color transparent adjustment.
Added a circular mode to the Fade Edge effect.
Improved compatibility with portable Paint.NET installations.Effects per category:
- Drop Shadow: The "Drop Shadow" effect, under the Object effect menu. With offset, widening, blur, and a color picker with transparency.
- Duotones: "Duotone Light", "Duotone Ink on Paper" and "Duotone Recolor" adjustments.
- Monochromes: "Cyanotype", "Grayscale on Colored Paper", "Monochrome Ink on Paper" and "Monochrome Recolor" adjustments.
- Color Accent: "Color Accent" adjustment.
- Fade Edge: "Fade Edge" effect, under the Photo effect menu.
- Gradient: A four-color, non-linear "Gradient" effect, with high quality color dithering, under the Render effect menu.
- Gridlines: Draws a grid with horizontal and vertical lines, under the Render menu.
- Object Align: Aligns the object in the selection to the selection.
- Make Color Transparent: Adjustment to make a given color transparent.
This version contains an installer. Just run the installer, it will ask you which effects you want to install and copy the required dll's into the Paint.NET effects folder. It will make no other modifications to your system.
Please note: Paint.NET version 5.0.12 or later is required. For recent changes, see https://www.vandermotten.be/paintdotnet/history.
Download: https://www.vandermotten.be/paintdotnet.
Leave your reactions here in the forum.
- 3
- 7
- 1
-
The user interface to the gradient effect is really very good, especially the use of handles. The line/curve tool has them too, and the text tool has a similar feature.
Are there any plans to support handles on the rectangle, rounded rectangle and ellipse tools as well?
I assume the Freeform Shape tool could use something along those lines too, although I'm not sure what I would want that to look like.
PS. I'm sorry if this was asked before.
Drop Shadow and other effects, KrisVDM's Plugin Pack (updated 2024-03-23) v.5.0.5.0
in Plugin Packs
Posted
BTW, the old one is still online (for now) at http://users.telenet.be/kris.vandermotten/Paint.NET/. I can't guarantee it will stay there for ever though...
Do know that the new one has two improvements: the blur is now circular (the old one was rectangular) and the new one has the shadow widening option. And yes, the old one did have the color picker in the dialog box itself.
Maybe you can all ask Rick to create a property and IndirectUI for a color?
Rick, that would have to be color with bgr only, not bgra (for this effect). Many of the other effects and adjustments in this package would benefit from such a property. The alternative would be not to make effect dialogs modal but I guess the color property is a far simpler change.
Kris.