Jump to content

About a "Selective blur / average" Plugin


Toli

Recommended Posts

I would very much like such a Plugin and I am ready to start programming it.

However, I do not want to duplicate some other programmer's work. So I ask the question here first.

Is there anything like this around?

Let me be a little more specific:

[attachment=0]PortLeft.png[/attachment]

This is a Supaplex Port (a sprite).

See that the grey areas are not very smooth.

If I smooth them using a blur (e.g. Gaussian Blur, Radius = 1), some red will get into the first column of grey pixels adjeacent to the red pixels.

My plugin should only blur / average if the color difference is not greater than a specified value.

What do you think? Is it worth coding that?

Thank you for any feedback

Toli Cuturicu

Link to comment
Share on other sites

You don't need a specialized plugin for that... Just copy the parts you want to blur onto a new layer.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Sorry, this will just not do it. I tried.

It will add transparency to the edges, or whatever color the background may be.

[attachment=0]PortLeftLayer.png[/attachment]

Link to comment
Share on other sites

Sorry, this will just not do it. I tried.

It will add transparency to the edges, or whatever color the background may be.

[attachment=0]PortLeftLayer.png[/attachment]

Right.... Well, you could use the eyedropper to pick a color from the non-transparent part and fill the transparent part with it, then blur... BUt that's kind of a pain. If you feel up to it, then by all means, make a plugin. I'm sure nobody would complain. (as long as it's in the right submenu ;))

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

... And which is the right Submenu? "Blurs", isn't it?

Yes indeed, but use SubmenuNames.Blurs so it localizes for people who aren't using English.

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

I don't think I understand completely. Wouldn't this be like Surface Blur?

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

It's part of the Ed Harvey Effects package, which is stickied in the Plugins forum.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

I've never used surface blur :oops: so I don't know exactly what it does, but if you want to try it, make sure you are using PdN 3.10, as it DOES NOT work in the 3.20 alpha,

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

Surface blur blurs only areas of the same color, within tolerance selected on the dialog. It's useful for removing blemishes in areas such as faces, etc.

 

The Doctor: There was a goblin, or a trickster, or a warrior... A nameless, terrible thing, soaked in the blood of a billion galaxies. The most feared being in all the cosmos. And nothing could stop it, or hold it, or reason with it. One day it would just drop out of the sky and tear down your world.
Amy: But how did it end up in there?
The Doctor: You know fairy tales. A good wizard tricked it.
River Song: I hate good wizards in fairy tales; they always turn out to be him.

Link to comment
Share on other sites

Thanks. I use Paint.NET 3.10. I tried Surface Blur and I do not understand well how it works. I need some explanation. Maybe Ed could lighten me up a little.

Anyway it does seem somehow appropriate. Maybe I should only refine it a little instead programming a new one from scratch.

Link to comment
Share on other sites

I would suggest that you just do your plugin and then we will see, perhaps it's better than surface blur, at least for some situations.

Plugins really improve Paint.Net, and I appreciate every new one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...