Jump to content

BoltBait's Plugin Pack for PdN v4.2.12 and beyond (Updated July 16, 2020)


BoltBait
 Share

Recommended Posts

59 minutes ago, BoltBait said:

@BillWoo This can be done 2 ways easily:

 

If you want to "stroke" the selection outline (marching ants) do it this way:

  1. Start by calculating the width of all strokes you wish to add.  In your example above, it might be 27 (5 px per color, and 2 for the black line)
  2. Starting with the innermost color, stroke (Effects > Selection > Outline Selection) the innermost color with a width of 27. Click OK.
  3. Working outwards, stroke each color with a width of the previous stroke minus the width of the current color (5px), so 22 for the second color. Click OK.
  4. Finish by feathering the selection.

If you want to "stroke" an object (pixels surrounded by transparent pixels) do it this way:

  1. Press Ctrl+D to clear out any selection you might have.
  2. Start with the innermost color and stroke (Effects > Object > Outline Object) the innermost color with the width of that color, so 5. Click OK.
  3. Working outwards, stroke each color with the desired width. Click OK

 

 

Thanks for yout response !  The process you describe is what I did to produce the graphic you see in the picture :)

 

What interests me is to;

 

1) find a way to keep your filter's window open while performing multiple strokes.

 

2) in the long run, assuming I attain competency in creating a plug-in, and can evaluate the feasibility of the idea, I'd like to run some kind of batch multi-stroke operation based on parameters I supply. I am an accomplished C# programmer.

 

It may interest/amuse you to know I was one of the authors of Cricket Draw 1,1, and later, at Adobe, one of the authors of Illustrator 3.2, and 5.0, as well as one of a team of four who created the prototype for what became Acrobat. My specialty was PostScript.

 

That was a long time ago, and, now, I'm just another old bum, retired, happily, in Thailand who designs rings as a kind of hobby=business, and who mentors other programmers on CodeProject :)

 

cheers, Bill

Edited by BillWoo
minor content revision
Link to comment
Share on other sites

  • 1 month later...
On 7/18/2020 at 1:58 PM, Andrej59 said:

It's just amazing what you can do with coding!

I feel the same way. I wish someone would help me port DataJuggler.PixelDatabase to a Paint.Net plug-in. 

 

All I need is a text box and a button.

 

Any volunteers?

 

Everything you can do here and more

https://pixeldatabase.net

 

Nuget: DataJuggler.PixelDatabase for (latest release is for .NET6)

 

Here is a gray scale example that I think is cool:

 

Turn the red car to white (files attached)

 

Update
Set Grayscale Red
Where
RedMaxDiff > 0
Y > 761

 

 

Would this make a good plugin?

 

 

 

Car.png

Car White Gray.png

Edited by DataJuggler
Link to comment
Share on other sites

That effect can be easily done with 2 plugins in my plugin pack:

 

image.png

Start by duplicating the layer, so you have 2 copies.

Next, run Adjustments > Black and White+ and choose the "Lightness Method" on the bottom layer.

Finally, run Adjustments > Hue/Saturation+ on the top layer giving the entries shown above.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

  • 3 weeks later...

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.

 Share

×
×
  • Create New...